FIR: Adjust FirTypeEnhancement test data
This commit is contained in:
+3
-3
@@ -1,6 +1,6 @@
|
||||
public abstract interface DeeplySubstitutedClassParameter : R|kotlin/Any| {
|
||||
public abstract interface Middle<E : R|ft<kotlin/Any, kotlin/Any?>|> : R|test/DeeplySubstitutedClassParameter.Super<ft<E, E?>>| {
|
||||
public abstract fun foo(p: R|ft<E, E?>|): R|kotlin/Unit|
|
||||
public abstract interface Middle<E : R|ft<kotlin/Any, kotlin/Any?>|> : R|test/DeeplySubstitutedClassParameter.Super<ft<E & Any, E?>>| {
|
||||
public abstract fun foo(p: R|ft<E & Any, E?>|): R|kotlin/Unit|
|
||||
|
||||
}
|
||||
public abstract interface Sub : R|test/DeeplySubstitutedClassParameter.Middle<ft<kotlin/String, kotlin/String?>>| {
|
||||
@@ -8,7 +8,7 @@ public abstract interface DeeplySubstitutedClassParameter : R|kotlin/Any| {
|
||||
|
||||
}
|
||||
public abstract interface Super<T : R|ft<kotlin/Any, kotlin/Any?>|> : R|kotlin/Any| {
|
||||
public abstract fun foo(p: R|ft<T, T?>|): R|kotlin/Unit|
|
||||
public abstract fun foo(p: R|ft<T & Any, T?>|): R|kotlin/Unit|
|
||||
|
||||
public abstract fun dummy(): R|kotlin/Unit|
|
||||
|
||||
|
||||
+2
-2
@@ -1,12 +1,12 @@
|
||||
public abstract interface DeeplySubstitutedClassParameter2 : R|kotlin/Any| {
|
||||
public abstract interface Middle<E : R|ft<kotlin/Any, kotlin/Any?>|> : R|test/DeeplySubstitutedClassParameter2.Super<ft<E, E?>>| {
|
||||
public abstract interface Middle<E : R|ft<kotlin/Any, kotlin/Any?>|> : R|test/DeeplySubstitutedClassParameter2.Super<ft<E & Any, E?>>| {
|
||||
}
|
||||
public abstract interface Sub : R|test/DeeplySubstitutedClassParameter2.Middle<ft<kotlin/String, kotlin/String?>>| {
|
||||
public abstract fun foo(p: R|ft<kotlin/String, kotlin/String?>|): R|kotlin/Unit|
|
||||
|
||||
}
|
||||
public abstract interface Super<T : R|ft<kotlin/Any, kotlin/Any?>|> : R|kotlin/Any| {
|
||||
public abstract fun foo(p: R|ft<T, T?>|): R|kotlin/Unit|
|
||||
public abstract fun foo(p: R|ft<T & Any, T?>|): R|kotlin/Unit|
|
||||
|
||||
public abstract fun dummy(): R|kotlin/Unit|
|
||||
|
||||
|
||||
Vendored
+1
-1
@@ -10,7 +10,7 @@ public abstract interface Kt3302 : R|kotlin/Any| {
|
||||
|
||||
}
|
||||
public abstract interface LinkedHashMap<K : R|ft<kotlin/Any, kotlin/Any?>|, V : R|ft<kotlin/Any, kotlin/Any?>|> : R|kotlin/Any| {
|
||||
public abstract fun put(key: R|ft<K, K?>|, value: R|ft<V, V?>|): R|ft<V, V?>|
|
||||
public abstract fun put(key: R|ft<K & Any, K?>|, value: R|ft<V & Any, V?>|): R|ft<V & Any, V?>|
|
||||
|
||||
public abstract fun dummy(): R|kotlin/Unit|
|
||||
|
||||
|
||||
+4
-2
@@ -1,10 +1,12 @@
|
||||
public abstract interface OverrideWithErasedParameter : R|kotlin/Any| {
|
||||
public abstract interface Sub<T : R|ft<kotlin/Any, kotlin/Any?>|> : R|test/OverrideWithErasedParameter.Super<ft<T, T?>>| {
|
||||
public abstract interface Sub<T : R|ft<kotlin/Any, kotlin/Any?>|> : R|test/OverrideWithErasedParameter.Super<ft<T & Any, T?>>| {
|
||||
public abstract fun foo(o: R|ft<kotlin/Any, kotlin/Any?>|): R|kotlin/Unit|
|
||||
|
||||
public abstract fun foo(t: R|ft<T & Any, T?>|): R|kotlin/Unit|
|
||||
|
||||
}
|
||||
public abstract interface Super<T : R|ft<kotlin/Any, kotlin/Any?>|> : R|kotlin/Any| {
|
||||
public abstract fun foo(t: R|ft<T, T?>|): R|kotlin/Unit|
|
||||
public abstract fun foo(t: R|ft<T & Any, T?>|): R|kotlin/Unit|
|
||||
|
||||
public abstract fun dummy(): R|kotlin/Unit|
|
||||
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
public abstract interface SubclassFromGenericAndNot : R|kotlin/Any| {
|
||||
public abstract interface Generic<T : R|ft<kotlin/Any, kotlin/Any?>|> : R|kotlin/Any| {
|
||||
public abstract fun foo(key: R|ft<T, T?>|): R|kotlin/Unit|
|
||||
public abstract fun foo(key: R|ft<T & Any, T?>|): R|kotlin/Unit|
|
||||
|
||||
public abstract fun dummy(): R|kotlin/Unit|
|
||||
|
||||
|
||||
+1
-1
@@ -4,7 +4,7 @@ public abstract interface SubstitutedClassParameter : R|kotlin/Any| {
|
||||
|
||||
}
|
||||
public abstract interface Super<T : R|ft<kotlin/Any, kotlin/Any?>|> : R|kotlin/Any| {
|
||||
public abstract fun foo(p: R|ft<T, T?>|): R|kotlin/Unit|
|
||||
public abstract fun foo(p: R|ft<T & Any, T?>|): R|kotlin/Unit|
|
||||
|
||||
public abstract fun dummy(): R|kotlin/Unit|
|
||||
|
||||
|
||||
+2
-2
@@ -4,13 +4,13 @@ public abstract interface SubstitutedClassParameters : R|kotlin/Any| {
|
||||
|
||||
}
|
||||
public abstract interface Super1<T : R|ft<kotlin/Any, kotlin/Any?>|> : R|kotlin/Any| {
|
||||
public abstract fun foo(p: R|ft<T, T?>|): R|kotlin/Unit|
|
||||
public abstract fun foo(p: R|ft<T & Any, T?>|): R|kotlin/Unit|
|
||||
|
||||
public abstract fun dummy(): R|kotlin/Unit|
|
||||
|
||||
}
|
||||
public abstract interface Super2<E : R|ft<kotlin/Any, kotlin/Any?>|> : R|kotlin/Any| {
|
||||
public abstract fun foo(p: R|ft<E, E?>|): R|kotlin/Unit|
|
||||
public abstract fun foo(p: R|ft<E & Any, E?>|): R|kotlin/Unit|
|
||||
|
||||
public abstract fun dummy(): R|kotlin/Unit|
|
||||
|
||||
|
||||
Reference in New Issue
Block a user