ran into another type inference problem
This commit is contained in:
5
examples/basic/function0001.ngr
Normal file
5
examples/basic/function0001.ngr
Normal file
@@ -0,0 +1,5 @@
|
||||
x = 1;
|
||||
function add_x(y) x + y
|
||||
a = 3;
|
||||
result = add_x(a);
|
||||
print result;
|
||||
Reference in New Issue
Block a user