Handle local variable shadowing.
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
var a = "global"
|
||||
{
|
||||
var a = "shadow"
|
||||
io.write(a) // expect: shadow
|
||||
}
|
||||
io.write(a) // expect: global
|
||||
Reference in New Issue
Block a user