KT-16554 Local function with default arguments have no IR elements for them

This commit is contained in:
Dmitry Petrov
2017-03-01 10:03:36 +03:00
parent ab3681e164
commit c226707a80
3 changed files with 25 additions and 11 deletions
@@ -1 +1,3 @@
fun test1(x: Int, y: Int = 0, z: String = "abc") {}
fun test1(x: Int, y: Int = 0, z: String = "abc") {
fun local(xx: Int = x, yy: Int = y, zz: String = z) {}
}