Generate INVOKESPECIAL instruction for private method with default argument

This commit is contained in:
Natalia.Ukhorskaya
2012-12-05 13:28:18 +04:00
parent f9331407a5
commit 17fa105116
3 changed files with 21 additions and 1 deletions
@@ -0,0 +1,13 @@
// Check that this code doesn't contains INVOKEVIRTUAL instruction
class B {
private fun foo(i: Int = 1) {
}
fun f() {
foo(2)
}
}
fun box(): String {
return "OK"
}