Closed
Description
Feature
The variable is_param
is declared in symbol
struct, but the parameter is checked only with the is_parameter
.
Deleting the unused is_param
variable seems to improve readability.
RustPython/compiler/src/symboltable.rs
Lines 94 to 103 in 6dccc98
RustPython/compiler/src/symboltable.rs
Lines 106 to 116 in 6dccc98
The is_param
variable is only used in declarations and new
functions.