Scope parent referencing
vihanb opened this issue · 0 comments
vihanb commented
Currently relationship-based scope generation, due to primarily top-linked bindings, something like this works:
let a = 1
if true {
print a // prints 2
let a = 2
}
which is obviously not good. Something should be used such as:
while node.queueQualifier < node.reference.queueQualifier {
negotiateValue(node, node.reference.parentScope.parentScope.scope)
}