Generate delegating constructor calls as IrDelegatingConstructorCall expressions
(they have different platform-level representation in JVM and JS).
This commit is contained in:
committed by
Dmitry Petrov
parent
6fbac2ed40
commit
a6bee7a22b
+8
@@ -0,0 +1,8 @@
|
||||
open class Base(val x: Int, val y: Int)
|
||||
|
||||
class Test1(xx: Int, yy: Int) : Base(y = yy, x = xx)
|
||||
|
||||
class Test2 : Base {
|
||||
constructor(xx: Int, yy: Int) : super(y = yy, x = xx)
|
||||
constructor(xxx: Int, yyy: Int, a: Any) : this(yy = yyy, xx = xxx)
|
||||
}
|
||||
Reference in New Issue
Block a user