Skip to content
Snippets Groups Projects

Reduction Support

Open Richard Angersbach requested to merge rangersbach/reductions into v2.0-dev
Viewing commit fff5a079
Show latest version
1 file
+ 1
1
Preferences
Compare changes
@@ -62,7 +62,7 @@ class UndefinedSymbolsCollector:
case PsAssignment(lhs, rhs):
undefined_vars = self(lhs) | self(rhs)
if isinstance(lhs, PsSymbolExpr):
if isinstance(node, PsDeclaration) and isinstance(lhs, PsSymbolExpr):
undefined_vars.remove(lhs.symbol)
return undefined_vars