Open anatoliykmetyuk opened 9 years ago
If there's a script variable passed to an ordinary function call as an argument, it won't compile:
def script live = var x = 3 ; println(x)
This code will fail to compile with the following error: error: not found: value _println
error: not found: value _println
However, the following code works perfectly:
var x = 3; def script live = println(x)
If there's a script variable passed to an ordinary function call as an argument, it won't compile:
This code will fail to compile with the following error:
error: not found: value _println
However, the following code works perfectly: