Temporary generate old default method

This commit is contained in:
Michael Bogdanov
2016-01-21 17:23:23 +03:00
parent 829978a37d
commit a76d16931c
5 changed files with 46 additions and 8 deletions
@@ -9,5 +9,5 @@ class A {
}
}
// Test argument reordering when call site argument order differs from declaration one
// 12 LOAD
// 18 LOAD
// 5 STORE
@@ -8,5 +8,5 @@ class A {
}
}
// Test there is no argument reordering when call site argument order same as declaration one
// 9 LOAD
// 15 LOAD
// 2 STORE
@@ -14,4 +14,4 @@ interface A {
// 1 foo\(
// 1 getProp
// 1 defaultFun\$
// 3 defaultFun\$
@@ -1,4 +1,4 @@
fun foo(a: Int = 1) {}
// 0 _DefaultPackage.foo
// 1 INVOKESTATIC TopLevelFunWithDefaultArgsKt\.foo
// 2 INVOKESTATIC TopLevelFunWithDefaultArgsKt\.foo