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
@@ -1,10 +1,14 @@
FILE: simpleFakeOverride.kt
public final class Some : R|kotlin/Any| {
public constructor(): super<R|kotlin/Any|>()
public constructor(): R|Some| {
super<R|kotlin/Any|>()
}
}
public final class B : R|A<Some>| {
public constructor(): super<R|A<Some>|>()
public constructor(): R|B| {
super<R|A<Some>|>()
}
public final fun test(): R|kotlin/Unit| {
R|FakeOverride</A.foo: R|ft<T, T?>|!>|(R|/Some.Some|())