-
-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
Comment above the print function results in an error.
To Reproduce
var x = 10;
var y = 20;
// function declaration
func add(x, y) {
return x + y;
}
// Conditional function call
var res = if(x > y) { x; } else { add(x, y); }
// print result
println(add(res,y));
println(len("Hello World!"));
Output:
No prefix parse function for ) found
12
Expected behavior
It should print both the results:
50
12
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working