function arguments are getting added to the AST!
This commit is contained in:
@@ -1,8 +1,7 @@
|
||||
test = Func(): Int {
|
||||
x: Int = 3;
|
||||
return x + 2;
|
||||
add = Func(a: Int, b: Int): Int {
|
||||
return a + b;
|
||||
}
|
||||
|
||||
main = Func(): Int {
|
||||
return test();
|
||||
return add(2, 3);
|
||||
}
|
||||
Reference in New Issue
Block a user