FIR deserializer: use class type parameters in constructor directly
This allows calls like Pair(...) to be resolved correctly
This commit is contained in:
Vendored
+1
-1
@@ -28,7 +28,7 @@ public final class InnerGeneric<A, B> : R|kotlin/Any| {
|
||||
public constructor<A, B>(): R|test/InnerGeneric<A, B>|
|
||||
|
||||
public final inner class Inner<in C, D : R|A|> : R|kotlin/Any| {
|
||||
public constructor<C, D : R|A|>(): R|test/InnerGeneric.Inner<C, D>|
|
||||
public constructor<in C, D : R|A|>(): R|test/InnerGeneric.Inner<C, D>|
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
public final class Wine<in T> : R|kotlin/Any| {
|
||||
public constructor<T>(): R|test/Wine<T>|
|
||||
public constructor<in T>(): R|test/Wine<T>|
|
||||
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
public final class Juice<out T> : R|kotlin/Any| {
|
||||
public constructor<T>(): R|test/Juice<T>|
|
||||
public constructor<out T>(): R|test/Juice<T>|
|
||||
|
||||
}
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
public final class ClassParamReferencesParam<A, in B : R|A|> : R|kotlin/Any| {
|
||||
public constructor<A, B : R|A|>(): R|test/ClassParamReferencesParam<A, B>|
|
||||
public constructor<A, in B : R|A|>(): R|test/ClassParamReferencesParam<A, B>|
|
||||
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
public final class ClassTwoParams<out P, Q> : R|kotlin/Any| {
|
||||
public constructor<P, Q>(): R|test/ClassTwoParams<P, Q>|
|
||||
public constructor<out P, Q>(): R|test/ClassTwoParams<P, Q>|
|
||||
|
||||
}
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
public final class ClassParamUsedInFun<in T> : R|kotlin/Any| {
|
||||
public final fun f(t: R|T|): R|kotlin/Int|
|
||||
|
||||
public constructor<T>(): R|test/ClassParamUsedInFun<T>|
|
||||
public constructor<in T>(): R|test/ClassParamUsedInFun<T>|
|
||||
|
||||
}
|
||||
|
||||
+1
-1
@@ -15,6 +15,6 @@ public final class A<in I> : R|kotlin/Any| {
|
||||
private/*private to this*/ get(): R|I|
|
||||
private/*private to this*/ set(value: R|I|): kotlin/Unit
|
||||
|
||||
public constructor<I>(): R|test/A<I>|
|
||||
public constructor<in I>(): R|test/A<I>|
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user