Scope postfix ast walking
This commit is contained in:
+8
-4
@@ -1,5 +1,9 @@
|
||||
function add(a: int, b: int) {
|
||||
let myVar = 10;
|
||||
struct Test {
|
||||
x: int
|
||||
}
|
||||
|
||||
let test = myVar;
|
||||
}
|
||||
function add() {
|
||||
let output = test().x;
|
||||
}
|
||||
|
||||
function test(): Test { }
|
||||
Reference in New Issue
Block a user