mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-08 00:21:26 +00:00
Write proper start label for loop parameter
This commit is contained in:
9
compiler/testData/codegen/bytecodeText/forLoop/loopVarInterval.kt
vendored
Normal file
9
compiler/testData/codegen/bytecodeText/forLoop/loopVarInterval.kt
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
fun f() {
|
||||
for (c in "123") {
|
||||
print(c)
|
||||
}
|
||||
}
|
||||
|
||||
// 1 ISTORE 0\s+L3
|
||||
// 1 ILOAD 0\s+INVOKEVIRTUAL java/io/PrintStream.print \(C\)V
|
||||
// 1 LOCALVARIABLE c C L3 L8 0
|
||||
Reference in New Issue
Block a user