Skip to content

Commit 0719231

Browse files
committed
Fix symbol scope
1 parent 154b72c commit 0719231

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/codegen/src/symboltable.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -483,7 +483,7 @@ impl SymbolTableAnalyzer {
483483
};
484484
} else {
485485
let mut cloned_sym = symbol.clone();
486-
cloned_sym.scope = SymbolScope::Local;
486+
cloned_sym.scope = SymbolScope::Cell;
487487
last.0.insert(cloned_sym.name.to_owned(), cloned_sym);
488488
}
489489
}

0 commit comments

Comments
 (0)