FIR: add class type parameters to constructors & change their rendering

This commit is contained in:
Mikhail Glukhikh
2019-04-09 11:40:49 +03:00
parent 55a5ccac5c
commit 0c334163ab
400 changed files with 1259 additions and 827 deletions
+6 -2
View File
@@ -1,6 +1,8 @@
FILE: jvm.kt
<T> public open actual class A : R|kotlin/Any| {
public constructor(): super<R|kotlin/Any|>()
public constructor<T>(): R|A<T>| {
super<R|kotlin/Any|>()
}
public open actual fun foo(arg: R|T|): R|kotlin/Unit| {
}
@@ -15,7 +17,9 @@ FILE: jvm.kt
}
public final class D : R|C| {
public constructor(): super<R|C|>()
public constructor(): R|D| {
super<R|C|>()
}
public final fun test(): R|kotlin/Unit| {
R|FakeOverride</A.foo: R|kotlin/Unit|>|(String())