mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-09 00:21:47 +00:00
better ScriptGenTest: check more fields
This commit is contained in:
8
compiler/testData/codegen/script/secondLevelVal.ktscript
Normal file
8
compiler/testData/codegen/script/secondLevelVal.ktscript
Normal file
@@ -0,0 +1,8 @@
|
||||
if (true) {
|
||||
val archenemy = "Jim Moriarty"
|
||||
}
|
||||
|
||||
true
|
||||
|
||||
// expected: rv: true
|
||||
// expected: archenemy: <nofield>
|
||||
Reference in New Issue
Block a user