Working type checker with functions
This commit is contained in:
+2
-2
@@ -3,7 +3,7 @@ struct Test {
|
||||
}
|
||||
|
||||
function add() {
|
||||
let output = test().x;
|
||||
let output = test();
|
||||
}
|
||||
|
||||
function test(): Test { }
|
||||
function test(): int { }
|
||||
Reference in New Issue
Block a user