mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-13 15:53:49 +00:00
Fix not being able to invoke introduce variable for top level script expression Prohibit introduce parameter and introduce property for scripts on top level Basic test for introduce function (produces red code atm)
3 lines
121 B
Kotlin
Vendored
3 lines
121 B
Kotlin
Vendored
//TODO: the result is not correct, should place function declaration before it is used
|
|
1 + 2
|
|
<selection>2 + 3</selection> |