mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-11 08:31:30 +00:00
ScriptGenTest: more
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
val x: Int
|
||||
|
||||
if (true) {
|
||||
fun foo(y: Int) = y + 20
|
||||
x = foo(9)
|
||||
}
|
||||
|
||||
x
|
||||
|
||||
// expected: 29
|
||||
Reference in New Issue
Block a user