generate correct bytecode for constructors using infix call syntax

#KT-4589 Fixed
This commit is contained in:
Dmitry Jemerov
2015-03-04 19:18:08 +01:00
parent ed4c265564
commit 1188be9070
3 changed files with 25 additions and 0 deletions
@@ -0,0 +1,15 @@
class Z() {
inner class Z2(val s: String) {
}
fun a(): String {
val s = Z() Z2 "OK"
return s.s
}
}
fun box(): String {
return Z().a()
}