Map proper owner for method with default args

This commit is contained in:
Michael Bogdanov
2016-09-12 14:35:57 +03:00
parent 0390cd6ee1
commit 5f1f4a067d
3 changed files with 22 additions and 1 deletions
+13
View File
@@ -0,0 +1,13 @@
// JVM_TARGET: 1.8
interface Z {
fun test(s: String = "OK"): String {
return s
}
}
class Test: Z
fun box(): String {
return Test().test()
}