https://kotlinlang.org logo
#scripting
Title
# scripting
a

apatrida

02/02/2017, 9:37 PM
@ilya.chernikov are you seeing breaking stuff in script such as this (beta 38): script:
Copy code
println(x); val x = 99; println(x)
produces error:
Copy code
uy.kohesive.keplin.kotlin.script.ReplCompilerException: error: unexpected tokens (use ';' to separate expressions on the same line)
println(x); val x = 99; println(x)
                        ^
i

ilya.chernikov

02/03/2017, 1:41 PM
apatrida: @apatrida yep, I see the same behaviour with
println(x); val x = 99; println(x)
. Don’t know what it is yet, will check.
2 Views