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
@@ -0,0 +1,13 @@
open class Base(v: String)
expect class Derived(v: String) : Base
expect open class ExpectBase(v: String)
expect class ExpectDerived(v: String) : ExpectBase
expect open class IOException(message: String, cause: Throwable?) {
<!PRIMARY_CONSTRUCTOR_DELEGATION_CALL_EXPECTED!>constructor(message: String)<!>
}
expect class EOFException(message: String) : IOException