FIR: add class type parameters to constructors & change their rendering
This commit is contained in:
+1
-1
@@ -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|
|
||||
|
||||
}
|
||||
|
||||
+2
-2
@@ -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
-1
@@ -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
-1
@@ -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
-1
@@ -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|
|
||||
|
||||
}
|
||||
|
||||
+1
-1
@@ -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
-1
@@ -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
-1
@@ -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
-1
@@ -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
-1
@@ -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
-1
@@ -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|
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user