I did see one issue with scripting, but I’m sure i...
# scripting
a
I did see one issue with scripting, but I’m sure it is pre-existing: Line 1:
Copy code
val x = 10
Line 2:
Copy code
println(x)
val x = 20
println(x)
outputs:
Copy code
0
20
obviously because the scope of the variable assignment is for the whole script and therefore its default int value of 0 is seen before the assignment. Not sure if this will bite people later, but really the first println in
Line_2
should reach back into
Line_1.x
and instead is
this.x