FIR: add class type parameters to constructors & change their rendering
This commit is contained in:
@@ -2,7 +2,9 @@ FILE: Base.kt
|
||||
public abstract interface First : R|kotlin/Any| {
|
||||
}
|
||||
public open class Second : R|kotlin/Any| {
|
||||
public constructor(): super<R|kotlin/Any|>()
|
||||
public constructor(): R|Second| {
|
||||
super<R|kotlin/Any|>()
|
||||
}
|
||||
|
||||
public open fun R|First|.foo(s: R|kotlin/String|, i: R|kotlin/Int|): R|kotlin/Unit| {
|
||||
}
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
FILE: Test.kt
|
||||
public final class Tester : R|Inheritor|, R|First| {
|
||||
public constructor(): super<R|Inheritor|>()
|
||||
public constructor(): R|Tester| {
|
||||
super<R|Inheritor|>()
|
||||
}
|
||||
|
||||
public final fun test(): R|kotlin/Unit| {
|
||||
R|/Inheritor.foo|(String(abc), Int(456))
|
||||
|
||||
Reference in New Issue
Block a user