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