generate correct bytecode for constructors using infix call syntax
#KT-4589 Fixed
This commit is contained in:
@@ -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()
|
||||
}
|
||||
Reference in New Issue
Block a user