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,7 +1,7 @@
public final class B : R|test/X|, R|test/Y| {
public open fun foo(): R|kotlin/Unit|
public constructor(a: R|test/X|)
public constructor(a: R|test/X|): R|test/B|
}
@@ -1,6 +1,6 @@
public final class Example : R|kotlin/Any| {
public final infix fun test(other: R|test/Example|): R|kotlin/Unit|
public constructor()
public constructor(): R|test/Example|
}
@@ -1,6 +1,6 @@
public final class Example : R|kotlin/Any| {
public final operator fun plus(other: R|test/Example|): R|kotlin/Unit|
public constructor()
public constructor(): R|test/Example|
}
@@ -6,13 +6,13 @@ public abstract interface A : R|kotlin/Any| {
}
public open class B : R|test/A| {
public constructor()
public constructor(): R|test/B|
}
public final class C : R|test/B| {
public open fun bar(): R|kotlin/Unit|
public constructor()
public constructor(): R|test/C|
}
@@ -1,6 +1,6 @@
public final class PropagateSubclassOfComparable : R|kotlin/Comparable<test/PropagateSubclassOfComparable>| {
public open operator fun compareTo(other: R|test/PropagateSubclassOfComparable|): R|kotlin/Int|
public constructor()
public constructor(): R|test/PropagateSubclassOfComparable|
}
@@ -1,6 +1,6 @@
public final class River : R|kotlin/Any| {
public final fun song(): R|kotlin/Int|
public constructor()
public constructor(): R|test/River|
}
@@ -1,6 +1,6 @@
public final class ClassFunGetFoo : R|kotlin/Any| {
public final fun getFoo(): R|kotlin/Int|
public constructor()
public constructor(): R|test/ClassFunGetFoo|
}
@@ -3,6 +3,6 @@ public final class ClassFunGetFoo : R|kotlin/Any| {
public final fun setFoo(p: R|kotlin/Int|): R|kotlin/Unit|
public constructor()
public constructor(): R|test/ClassFunGetFoo|
}
@@ -1,6 +1,6 @@
public final class ClassFunGetFoo : R|kotlin/Any| {
public final fun set(p: R|kotlin/Int|): R|kotlin/Unit|
public constructor()
public constructor(): R|test/ClassFunGetFoo|
}
@@ -1,6 +1,6 @@
public final class ExtFunInClass : R|kotlin/Any| {
public final fun R|kotlin/Int|.shuffle(): R|kotlin/Int|
public constructor()
public constructor(): R|test/ExtFunInClass|
}
@@ -1,6 +1,6 @@
public abstract class ModifierAbstract : R|kotlin/Any| {
public abstract fun abs(): R|kotlin/Int|
public constructor()
public constructor(): R|test/ModifierAbstract|
}
@@ -1,6 +1,6 @@
public open class ModifierOpen : R|kotlin/Any| {
public open fun abs(): R|kotlin/Int|
public constructor()
public constructor(): R|test/ModifierOpen|
}
@@ -1,6 +1,6 @@
public open class VarargInt : R|kotlin/Any| {
public open fun vararg(vararg p0: R|kotlin/IntArray|): R|kotlin/Unit|
public constructor()
public constructor(): R|test/VarargInt|
}
@@ -1,6 +1,6 @@
public open class VarargString : R|kotlin/Any| {
public open fun vararg(vararg p0: R|kotlin/Array<out kotlin/String>|): R|kotlin/Unit|
public constructor()
public constructor(): R|test/VarargString|
}