ast: Fix handling of identifiers in the global scope
authorDavid Shah <dave@ds0.me>
Thu, 16 Apr 2020 09:27:59 +0000 (10:27 +0100)
committerDavid Shah <dave@ds0.me>
Thu, 16 Apr 2020 09:30:07 +0000 (10:30 +0100)
commit4d025058208f3b3096192b09371c9320610a44b8
treed5900af65a815750662cf7dcec69fb2b6df0b365
parent3c4758c60e33386e19049d81fd6f72c8e7f316e0
ast: Fix handling of identifiers in the global scope

Signed-off-by: David Shah <dave@ds0.me>
frontends/ast/ast.cc
frontends/ast/simplify.cc
tests/various/global_scope.ys [new file with mode: 0644]