FIR: don't create delegated constructor call in expect

#KT-51756 Fixed
This commit is contained in:
Mikhail Glukhikh
2022-03-29 16:06:40 +03:00
parent 16027b4531
commit aaebb7a30e
12 changed files with 105 additions and 34 deletions
@@ -1,9 +1,7 @@
Module: m1-common
FILE: common.kt
public open expect class A<T> : R|kotlin/Any| {
public expect constructor<T>(): R|A<T>| {
super<R|kotlin/Any|>()
}
public expect constructor<T>(): R|A<T>|
public open expect fun foo(arg: R|T|): R|kotlin/Unit|
@@ -1,9 +1,7 @@
Module: m1-common
FILE: common.kt
public open expect class A : R|kotlin/Any| {
public expect constructor(): R|A| {
super<R|kotlin/Any|>()
}
public expect constructor(): R|A|
public final expect fun foo(): R|kotlin/Unit|
@@ -1,9 +1,7 @@
Module: m1-common
FILE: common.kt
public open expect class A : R|kotlin/Any| {
public expect constructor(): R|A| {
super<R|kotlin/Any|>()
}
public expect constructor(): R|A|
public final expect fun foo(): R|kotlin/Unit|