Write proper start label for loop parameter

This commit is contained in:
Michael Bogdanov
2016-04-08 11:19:17 +03:00
parent 441a442f34
commit a6044c81ff
3 changed files with 18 additions and 4 deletions

View 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