We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c01f014 commit 85f6574Copy full SHA for 85f6574
vm/src/stdlib/symtable.rs
@@ -89,6 +89,7 @@ mod symtable {
89
.filter(|table| table.name == name)
90
.cloned()
91
.collect(),
92
+ is_top_scope: self.symtable.name == "top",
93
}
94
.into_ref(vm))
95
} else {
@@ -123,6 +124,7 @@ mod symtable {
123
124
.filter(|&table| table.name == s.name)
125
126
127
128
})
129
.into_ref(vm)
130
.into()
@@ -154,6 +156,7 @@ mod symtable {
154
156
struct PySymbol {
155
157
symbol: Symbol,
158
namespaces: Vec<SymbolTable>,
159
+ is_top_scope: bool,
160
161
162
impl fmt::Debug for PySymbol {
0 commit comments