Fix testData in compiler: add collections and ranges package to fq-names.
This commit is contained in:
Vendored
+1
-1
@@ -2,5 +2,5 @@ package test
|
||||
|
||||
public open class CustomProjectionKind {
|
||||
/*primary*/ public constructor CustomProjectionKind()
|
||||
public open fun foo(): kotlin.MutableList<out kotlin.Number>
|
||||
public open fun foo(): kotlin.collections.MutableList<out kotlin.Number>
|
||||
}
|
||||
|
||||
Vendored
+1
-1
@@ -2,5 +2,5 @@ package test
|
||||
|
||||
public open class MethodWithGenerics {
|
||||
/*primary*/ public constructor MethodWithGenerics()
|
||||
public open fun foo(/*0*/ a: kotlin.String, /*1*/ b: kotlin.List<kotlin.Map.Entry<kotlin.String?, kotlin.String>?>): kotlin.String
|
||||
public open fun foo(/*0*/ a: kotlin.String, /*1*/ b: kotlin.collections.List<kotlin.collections.Map.Entry<kotlin.String?, kotlin.String>?>): kotlin.String
|
||||
}
|
||||
|
||||
Vendored
+1
-1
@@ -2,5 +2,5 @@ package test
|
||||
|
||||
public open class MethodWithMappedClasses {
|
||||
/*primary*/ public constructor MethodWithMappedClasses()
|
||||
public open fun </*0*/ T> copy(/*0*/ dest: kotlin.MutableList<in T>, /*1*/ src: kotlin.List<T>): kotlin.Unit
|
||||
public open fun </*0*/ T> copy(/*0*/ dest: kotlin.collections.MutableList<in T>, /*1*/ src: kotlin.collections.List<T>): kotlin.Unit
|
||||
}
|
||||
|
||||
Vendored
+1
-1
@@ -2,5 +2,5 @@ package test
|
||||
|
||||
public open class MethodWithTypeParameters {
|
||||
/*primary*/ public constructor MethodWithTypeParameters()
|
||||
public open fun </*0*/ A, /*1*/ B : java.lang.Runnable> foo(/*0*/ a: A, /*1*/ b: kotlin.List<B>, /*2*/ c: kotlin.MutableList<in kotlin.String?>): kotlin.Unit where B : kotlin.List<kotlin.Cloneable>
|
||||
public open fun </*0*/ A, /*1*/ B : java.lang.Runnable> foo(/*0*/ a: A, /*1*/ b: kotlin.collections.List<B>, /*2*/ c: kotlin.collections.MutableList<in kotlin.String?>): kotlin.Unit where B : kotlin.collections.List<kotlin.Cloneable>
|
||||
}
|
||||
|
||||
+1
-1
@@ -2,5 +2,5 @@ package test
|
||||
|
||||
public open class ConflictingProjectionKind {
|
||||
/*primary*/ public constructor ConflictingProjectionKind()
|
||||
public open fun foo(/*0*/ p0: kotlin.List<kotlin.Number>?): kotlin.Unit
|
||||
public open fun foo(/*0*/ p0: kotlin.collections.List<kotlin.Number>?): kotlin.Unit
|
||||
}
|
||||
|
||||
+1
-1
@@ -2,5 +2,5 @@ package test
|
||||
|
||||
public open class RedundantProjectionKind {
|
||||
/*primary*/ public constructor RedundantProjectionKind()
|
||||
public open fun foo(/*0*/ list: kotlin.List<kotlin.Number>): kotlin.Unit
|
||||
public open fun foo(/*0*/ list: kotlin.collections.List<kotlin.Number>): kotlin.Unit
|
||||
}
|
||||
|
||||
compiler/testData/loadJava/compiledKotlin/fromLoadJava/kotlinSignature/error/WrongProjectionKind.txt
Vendored
+1
-1
@@ -2,5 +2,5 @@ package test
|
||||
|
||||
public open class WrongProjectionKind {
|
||||
/*primary*/ public constructor WrongProjectionKind()
|
||||
public open fun copy(/*0*/ p0: kotlin.Array<out kotlin.Number>?, /*1*/ p1: kotlin.Array<out kotlin.Number>?): kotlin.MutableList<kotlin.Number>?
|
||||
public open fun copy(/*0*/ p0: kotlin.Array<out kotlin.Number>?, /*1*/ p1: kotlin.Array<out kotlin.Number>?): kotlin.collections.MutableList<kotlin.Number>?
|
||||
}
|
||||
|
||||
+1
-1
@@ -2,5 +2,5 @@ package test
|
||||
|
||||
public open class WrongReturnTypeStructure {
|
||||
/*primary*/ public constructor WrongReturnTypeStructure()
|
||||
public open fun foo(/*0*/ p0: kotlin.String?, /*1*/ p1: kotlin.List<kotlin.Map.Entry<kotlin.String, kotlin.String>>?): kotlin.String?
|
||||
public open fun foo(/*0*/ p0: kotlin.String?, /*1*/ p1: kotlin.collections.List<kotlin.collections.Map.Entry<kotlin.String, kotlin.String>>?): kotlin.String?
|
||||
}
|
||||
|
||||
+1
-1
@@ -2,5 +2,5 @@ package test
|
||||
|
||||
public open class WrongTypeParameterBoundStructure1 {
|
||||
/*primary*/ public constructor WrongTypeParameterBoundStructure1()
|
||||
public open fun </*0*/ A, /*1*/ B : java.lang.Runnable?> foo(/*0*/ p0: A?, /*1*/ p1: kotlin.List<B>?): kotlin.Unit where B : kotlin.List<kotlin.Cloneable>?
|
||||
public open fun </*0*/ A, /*1*/ B : java.lang.Runnable?> foo(/*0*/ p0: A?, /*1*/ p1: kotlin.collections.List<B>?): kotlin.Unit where B : kotlin.collections.List<kotlin.Cloneable>?
|
||||
}
|
||||
|
||||
+1
-1
@@ -2,5 +2,5 @@ package test
|
||||
|
||||
public open class WrongTypeParameterBoundStructure2 {
|
||||
/*primary*/ public constructor WrongTypeParameterBoundStructure2()
|
||||
public open fun </*0*/ A, /*1*/ B : java.lang.Runnable?> foo(/*0*/ p0: A?, /*1*/ p1: kotlin.List<B>?): kotlin.Unit where B : kotlin.List<kotlin.Cloneable>?
|
||||
public open fun </*0*/ A, /*1*/ B : java.lang.Runnable?> foo(/*0*/ p0: A?, /*1*/ p1: kotlin.collections.List<B>?): kotlin.Unit where B : kotlin.collections.List<kotlin.Cloneable>?
|
||||
}
|
||||
|
||||
+1
-1
@@ -2,5 +2,5 @@ package test
|
||||
|
||||
public open class WrongTypeParametersCount {
|
||||
/*primary*/ public constructor WrongTypeParametersCount()
|
||||
public open fun </*0*/ A, /*1*/ B> foo(/*0*/ p0: A?, /*1*/ p1: kotlin.List<B>?): kotlin.Unit
|
||||
public open fun </*0*/ A, /*1*/ B> foo(/*0*/ p0: A?, /*1*/ p1: kotlin.collections.List<B>?): kotlin.Unit
|
||||
}
|
||||
|
||||
+1
-1
@@ -2,5 +2,5 @@ package test
|
||||
|
||||
public open class WrongValueParameterStructure1 {
|
||||
/*primary*/ public constructor WrongValueParameterStructure1()
|
||||
public open fun foo(/*0*/ p0: kotlin.String?, /*1*/ p1: kotlin.List<kotlin.Map.Entry<kotlin.String, kotlin.String>>?): kotlin.String?
|
||||
public open fun foo(/*0*/ p0: kotlin.String?, /*1*/ p1: kotlin.collections.List<kotlin.collections.Map.Entry<kotlin.String, kotlin.String>>?): kotlin.String?
|
||||
}
|
||||
|
||||
+1
-1
@@ -2,5 +2,5 @@ package test
|
||||
|
||||
public open class WrongValueParameterStructure2 {
|
||||
/*primary*/ public constructor WrongValueParameterStructure2()
|
||||
public open fun foo(/*0*/ p0: kotlin.String?, /*1*/ p1: kotlin.List<kotlin.Map.Entry<kotlin.String, kotlin.String>>?): kotlin.String?
|
||||
public open fun foo(/*0*/ p0: kotlin.String?, /*1*/ p1: kotlin.collections.List<kotlin.collections.Map.Entry<kotlin.String, kotlin.String>>?): kotlin.String?
|
||||
}
|
||||
|
||||
+12
-12
@@ -3,20 +3,20 @@ package test
|
||||
public interface PropagateTypeArgumentNullable {
|
||||
|
||||
public interface Sub : test.PropagateTypeArgumentNullable.Super {
|
||||
public abstract override /*1*/ fun invOutR(): kotlin.MutableList<kotlin.List<kotlin.String?>>
|
||||
public abstract override /*1*/ fun invOutS(/*0*/ p: kotlin.MutableList<kotlin.List<kotlin.String?>>): kotlin.Unit
|
||||
public abstract override /*1*/ fun invR(): kotlin.MutableList<kotlin.String?>
|
||||
public abstract override /*1*/ fun outOutS(/*0*/ p: kotlin.List<kotlin.List<kotlin.String?>>): kotlin.Unit
|
||||
public abstract override /*1*/ fun outR(): kotlin.List<kotlin.String?>
|
||||
public abstract override /*1*/ fun outS(/*0*/ p: kotlin.List<kotlin.String?>): kotlin.Unit
|
||||
public abstract override /*1*/ fun invOutR(): kotlin.collections.MutableList<kotlin.collections.List<kotlin.String?>>
|
||||
public abstract override /*1*/ fun invOutS(/*0*/ p: kotlin.collections.MutableList<kotlin.collections.List<kotlin.String?>>): kotlin.Unit
|
||||
public abstract override /*1*/ fun invR(): kotlin.collections.MutableList<kotlin.String?>
|
||||
public abstract override /*1*/ fun outOutS(/*0*/ p: kotlin.collections.List<kotlin.collections.List<kotlin.String?>>): kotlin.Unit
|
||||
public abstract override /*1*/ fun outR(): kotlin.collections.List<kotlin.String?>
|
||||
public abstract override /*1*/ fun outS(/*0*/ p: kotlin.collections.List<kotlin.String?>): kotlin.Unit
|
||||
}
|
||||
|
||||
public interface Super {
|
||||
public abstract fun invOutR(): kotlin.MutableList<kotlin.List<kotlin.String?>>
|
||||
public abstract fun invOutS(/*0*/ p: kotlin.MutableList<kotlin.List<kotlin.String?>>): kotlin.Unit
|
||||
public abstract fun invR(): kotlin.MutableList<kotlin.String?>
|
||||
public abstract fun outOutS(/*0*/ p: kotlin.List<kotlin.List<kotlin.String?>>): kotlin.Unit
|
||||
public abstract fun outR(): kotlin.List<kotlin.String?>
|
||||
public abstract fun outS(/*0*/ p: kotlin.List<kotlin.String?>): kotlin.Unit
|
||||
public abstract fun invOutR(): kotlin.collections.MutableList<kotlin.collections.List<kotlin.String?>>
|
||||
public abstract fun invOutS(/*0*/ p: kotlin.collections.MutableList<kotlin.collections.List<kotlin.String?>>): kotlin.Unit
|
||||
public abstract fun invR(): kotlin.collections.MutableList<kotlin.String?>
|
||||
public abstract fun outOutS(/*0*/ p: kotlin.collections.List<kotlin.collections.List<kotlin.String?>>): kotlin.Unit
|
||||
public abstract fun outR(): kotlin.collections.List<kotlin.String?>
|
||||
public abstract fun outS(/*0*/ p: kotlin.collections.List<kotlin.String?>): kotlin.Unit
|
||||
}
|
||||
}
|
||||
|
||||
+2
-2
@@ -4,11 +4,11 @@ public interface ChangeProjectionKind1 {
|
||||
|
||||
public interface Sub : test.ChangeProjectionKind1.Super {
|
||||
public abstract override /*1*/ /*fake_override*/ fun dummy(): kotlin.Unit
|
||||
public abstract override /*1*/ fun foo(/*0*/ p: kotlin.MutableList<in kotlin.String>): kotlin.Unit
|
||||
public abstract override /*1*/ fun foo(/*0*/ p: kotlin.collections.MutableList<in kotlin.String>): kotlin.Unit
|
||||
}
|
||||
|
||||
public interface Super {
|
||||
public abstract fun dummy(): kotlin.Unit
|
||||
public abstract fun foo(/*0*/ p: kotlin.MutableList<in kotlin.String>): kotlin.Unit
|
||||
public abstract fun foo(/*0*/ p: kotlin.collections.MutableList<in kotlin.String>): kotlin.Unit
|
||||
}
|
||||
}
|
||||
|
||||
+2
-2
@@ -4,11 +4,11 @@ public interface ChangeProjectionKind2 {
|
||||
|
||||
public interface Sub : test.ChangeProjectionKind2.Super {
|
||||
public abstract override /*1*/ /*fake_override*/ fun dummy(): kotlin.Unit
|
||||
public abstract override /*1*/ fun foo(/*0*/ p: kotlin.MutableList<kotlin.String>): kotlin.Unit
|
||||
public abstract override /*1*/ fun foo(/*0*/ p: kotlin.collections.MutableList<kotlin.String>): kotlin.Unit
|
||||
}
|
||||
|
||||
public interface Super {
|
||||
public abstract fun dummy(): kotlin.Unit
|
||||
public abstract fun foo(/*0*/ p: kotlin.MutableList<kotlin.String>): kotlin.Unit
|
||||
public abstract fun foo(/*0*/ p: kotlin.collections.MutableList<kotlin.String>): kotlin.Unit
|
||||
}
|
||||
}
|
||||
|
||||
+2
-2
@@ -4,11 +4,11 @@ public interface InheritMutability {
|
||||
|
||||
public interface Sub : test.InheritMutability.Super {
|
||||
public abstract override /*1*/ /*fake_override*/ fun dummy(): kotlin.Unit
|
||||
public abstract override /*1*/ fun foo(/*0*/ p: kotlin.MutableList<kotlin.String>): kotlin.Unit
|
||||
public abstract override /*1*/ fun foo(/*0*/ p: kotlin.collections.MutableList<kotlin.String>): kotlin.Unit
|
||||
}
|
||||
|
||||
public interface Super {
|
||||
public abstract fun dummy(): kotlin.Unit
|
||||
public abstract fun foo(/*0*/ p: kotlin.MutableList<kotlin.String>): kotlin.Unit
|
||||
public abstract fun foo(/*0*/ p: kotlin.collections.MutableList<kotlin.String>): kotlin.Unit
|
||||
}
|
||||
}
|
||||
|
||||
+2
-2
@@ -4,11 +4,11 @@ public interface InheritProjectionKind {
|
||||
|
||||
public interface Sub : test.InheritProjectionKind.Super {
|
||||
public abstract override /*1*/ /*fake_override*/ fun dummy(): kotlin.Unit
|
||||
public abstract override /*1*/ fun foo(/*0*/ p: kotlin.MutableList<in kotlin.String>): kotlin.Unit
|
||||
public abstract override /*1*/ fun foo(/*0*/ p: kotlin.collections.MutableList<in kotlin.String>): kotlin.Unit
|
||||
}
|
||||
|
||||
public interface Super {
|
||||
public abstract fun dummy(): kotlin.Unit
|
||||
public abstract fun foo(/*0*/ p: kotlin.MutableList<in kotlin.String>): kotlin.Unit
|
||||
public abstract fun foo(/*0*/ p: kotlin.collections.MutableList<in kotlin.String>): kotlin.Unit
|
||||
}
|
||||
}
|
||||
|
||||
+2
-2
@@ -4,11 +4,11 @@ public interface InheritReadOnliness {
|
||||
|
||||
public interface Sub : test.InheritReadOnliness.Super {
|
||||
public abstract override /*1*/ /*fake_override*/ fun dummy(): kotlin.Unit
|
||||
public abstract override /*1*/ fun foo(/*0*/ p: kotlin.List<kotlin.String>): kotlin.Unit
|
||||
public abstract override /*1*/ fun foo(/*0*/ p: kotlin.collections.List<kotlin.String>): kotlin.Unit
|
||||
}
|
||||
|
||||
public interface Super {
|
||||
public abstract fun dummy(): kotlin.Unit
|
||||
public abstract fun foo(/*0*/ p: kotlin.List<kotlin.String>): kotlin.Unit
|
||||
public abstract fun foo(/*0*/ p: kotlin.collections.List<kotlin.String>): kotlin.Unit
|
||||
}
|
||||
}
|
||||
|
||||
+2
-2
@@ -4,11 +4,11 @@ public interface MutableToReadOnly {
|
||||
|
||||
public interface Sub : test.MutableToReadOnly.Super {
|
||||
public abstract override /*1*/ /*fake_override*/ fun dummy(): kotlin.Unit
|
||||
public abstract override /*1*/ fun foo(/*0*/ p: kotlin.MutableList<kotlin.String>): kotlin.Unit
|
||||
public abstract override /*1*/ fun foo(/*0*/ p: kotlin.collections.MutableList<kotlin.String>): kotlin.Unit
|
||||
}
|
||||
|
||||
public interface Super {
|
||||
public abstract fun dummy(): kotlin.Unit
|
||||
public abstract fun foo(/*0*/ p: kotlin.MutableList<kotlin.String>): kotlin.Unit
|
||||
public abstract fun foo(/*0*/ p: kotlin.collections.MutableList<kotlin.String>): kotlin.Unit
|
||||
}
|
||||
}
|
||||
|
||||
+2
-2
@@ -4,11 +4,11 @@ public interface ReadOnlyToMutable {
|
||||
|
||||
public interface Sub : test.ReadOnlyToMutable.Super {
|
||||
public abstract override /*1*/ /*fake_override*/ fun dummy(): kotlin.Unit
|
||||
public abstract override /*1*/ fun foo(/*0*/ p: kotlin.List<kotlin.String>): kotlin.Unit
|
||||
public abstract override /*1*/ fun foo(/*0*/ p: kotlin.collections.List<kotlin.String>): kotlin.Unit
|
||||
}
|
||||
|
||||
public interface Super {
|
||||
public abstract fun dummy(): kotlin.Unit
|
||||
public abstract fun foo(/*0*/ p: kotlin.List<kotlin.String>): kotlin.Unit
|
||||
public abstract fun foo(/*0*/ p: kotlin.collections.List<kotlin.String>): kotlin.Unit
|
||||
}
|
||||
}
|
||||
|
||||
+2
-2
@@ -4,11 +4,11 @@ public interface AddNullabilitySameGenericType1 {
|
||||
|
||||
public interface Sub : test.AddNullabilitySameGenericType1.Super {
|
||||
public abstract override /*1*/ /*fake_override*/ fun dummy(): kotlin.Unit
|
||||
public abstract override /*1*/ fun foo(): kotlin.MutableList<kotlin.String>
|
||||
public abstract override /*1*/ fun foo(): kotlin.collections.MutableList<kotlin.String>
|
||||
}
|
||||
|
||||
public interface Super {
|
||||
public abstract fun dummy(): kotlin.Unit
|
||||
public abstract fun foo(): kotlin.MutableList<kotlin.String>
|
||||
public abstract fun foo(): kotlin.collections.MutableList<kotlin.String>
|
||||
}
|
||||
}
|
||||
|
||||
+2
-2
@@ -4,11 +4,11 @@ public interface AddNullabilitySameGenericType2 {
|
||||
|
||||
public interface Sub : test.AddNullabilitySameGenericType2.Super {
|
||||
public abstract override /*1*/ /*fake_override*/ fun dummy(): kotlin.Unit
|
||||
public abstract override /*1*/ fun foo(): kotlin.MutableList<kotlin.String>
|
||||
public abstract override /*1*/ fun foo(): kotlin.collections.MutableList<kotlin.String>
|
||||
}
|
||||
|
||||
public interface Super {
|
||||
public abstract fun dummy(): kotlin.Unit
|
||||
public abstract fun foo(): kotlin.MutableList<kotlin.String>
|
||||
public abstract fun foo(): kotlin.collections.MutableList<kotlin.String>
|
||||
}
|
||||
}
|
||||
|
||||
+2
-2
@@ -4,11 +4,11 @@ public interface CantMakeImmutableInSubclass {
|
||||
|
||||
public interface Sub : test.CantMakeImmutableInSubclass.Super {
|
||||
public abstract override /*1*/ /*fake_override*/ fun dummy(): kotlin.Unit
|
||||
public abstract override /*1*/ fun foo(): kotlin.MutableList<kotlin.String>
|
||||
public abstract override /*1*/ fun foo(): kotlin.collections.MutableList<kotlin.String>
|
||||
}
|
||||
|
||||
public interface Super {
|
||||
public abstract fun dummy(): kotlin.Unit
|
||||
public abstract fun foo(): kotlin.MutableCollection<kotlin.String>
|
||||
public abstract fun foo(): kotlin.collections.MutableCollection<kotlin.String>
|
||||
}
|
||||
}
|
||||
|
||||
+11
-11
@@ -9,31 +9,31 @@ public interface HalfSubstitutedTypeParameters {
|
||||
|
||||
public interface Super {
|
||||
public abstract fun dummy(): kotlin.Unit
|
||||
public abstract fun foo(): kotlin.MutableList<kotlin.String?>
|
||||
public abstract fun foo(): kotlin.collections.MutableList<kotlin.String?>
|
||||
}
|
||||
|
||||
public interface TrickyList</*0*/ X, /*1*/ E> : kotlin.MutableList<E> {
|
||||
public interface TrickyList</*0*/ X, /*1*/ E> : kotlin.collections.MutableList<E> {
|
||||
public abstract override /*1*/ /*fake_override*/ val size: kotlin.Int
|
||||
public abstract override /*1*/ /*fake_override*/ fun <get-size>(): kotlin.Int
|
||||
public abstract override /*1*/ /*fake_override*/ fun add(/*0*/ element: E): kotlin.Boolean
|
||||
public abstract override /*1*/ /*fake_override*/ fun add(/*0*/ index: kotlin.Int, /*1*/ element: E): kotlin.Unit
|
||||
public abstract override /*1*/ /*fake_override*/ fun addAll(/*0*/ elements: kotlin.Collection<E>): kotlin.Boolean
|
||||
public abstract override /*1*/ /*fake_override*/ fun addAll(/*0*/ index: kotlin.Int, /*1*/ elements: kotlin.Collection<E>): kotlin.Boolean
|
||||
public abstract override /*1*/ /*fake_override*/ fun addAll(/*0*/ index: kotlin.Int, /*1*/ elements: kotlin.collections.Collection<E>): kotlin.Boolean
|
||||
public abstract override /*1*/ /*fake_override*/ fun addAll(/*0*/ elements: kotlin.collections.Collection<E>): kotlin.Boolean
|
||||
public abstract override /*1*/ /*fake_override*/ fun clear(): kotlin.Unit
|
||||
public abstract override /*1*/ /*fake_override*/ fun contains(/*0*/ element: E): kotlin.Boolean
|
||||
public abstract override /*1*/ /*fake_override*/ fun containsAll(/*0*/ elements: kotlin.Collection<E>): kotlin.Boolean
|
||||
public abstract override /*1*/ /*fake_override*/ fun containsAll(/*0*/ elements: kotlin.collections.Collection<E>): kotlin.Boolean
|
||||
public abstract override /*1*/ /*fake_override*/ fun get(/*0*/ index: kotlin.Int): E
|
||||
public abstract override /*1*/ /*fake_override*/ fun indexOf(/*0*/ element: E): kotlin.Int
|
||||
public abstract override /*1*/ /*fake_override*/ fun isEmpty(): kotlin.Boolean
|
||||
public abstract override /*1*/ /*fake_override*/ fun iterator(): kotlin.MutableIterator<E>
|
||||
public abstract override /*1*/ /*fake_override*/ fun iterator(): kotlin.collections.MutableIterator<E>
|
||||
public abstract override /*1*/ /*fake_override*/ fun lastIndexOf(/*0*/ element: E): kotlin.Int
|
||||
public abstract override /*1*/ /*fake_override*/ fun listIterator(): kotlin.MutableListIterator<E>
|
||||
public abstract override /*1*/ /*fake_override*/ fun listIterator(/*0*/ index: kotlin.Int): kotlin.MutableListIterator<E>
|
||||
public abstract override /*1*/ /*fake_override*/ fun listIterator(): kotlin.collections.MutableListIterator<E>
|
||||
public abstract override /*1*/ /*fake_override*/ fun listIterator(/*0*/ index: kotlin.Int): kotlin.collections.MutableListIterator<E>
|
||||
public abstract override /*1*/ /*fake_override*/ fun remove(/*0*/ element: E): kotlin.Boolean
|
||||
public abstract override /*1*/ /*fake_override*/ fun removeAll(/*0*/ elements: kotlin.Collection<E>): kotlin.Boolean
|
||||
public abstract override /*1*/ /*fake_override*/ fun removeAll(/*0*/ elements: kotlin.collections.Collection<E>): kotlin.Boolean
|
||||
public abstract override /*1*/ /*fake_override*/ fun removeAt(/*0*/ index: kotlin.Int): E
|
||||
public abstract override /*1*/ /*fake_override*/ fun retainAll(/*0*/ elements: kotlin.Collection<E>): kotlin.Boolean
|
||||
public abstract override /*1*/ /*fake_override*/ fun retainAll(/*0*/ elements: kotlin.collections.Collection<E>): kotlin.Boolean
|
||||
public abstract override /*1*/ /*fake_override*/ fun set(/*0*/ index: kotlin.Int, /*1*/ element: E): E
|
||||
public abstract override /*1*/ /*fake_override*/ fun subList(/*0*/ fromIndex: kotlin.Int, /*1*/ toIndex: kotlin.Int): kotlin.MutableList<E>
|
||||
public abstract override /*1*/ /*fake_override*/ fun subList(/*0*/ fromIndex: kotlin.Int, /*1*/ toIndex: kotlin.Int): kotlin.collections.MutableList<E>
|
||||
}
|
||||
}
|
||||
|
||||
+2
-2
@@ -4,11 +4,11 @@ public interface InheritNullabilityGenericSubclassSimple {
|
||||
|
||||
public interface Sub : test.InheritNullabilityGenericSubclassSimple.Super {
|
||||
public abstract override /*1*/ /*fake_override*/ fun dummy(): kotlin.Unit
|
||||
public abstract override /*1*/ fun foo(): kotlin.MutableList<kotlin.String>
|
||||
public abstract override /*1*/ fun foo(): kotlin.collections.MutableList<kotlin.String>
|
||||
}
|
||||
|
||||
public interface Super {
|
||||
public abstract fun dummy(): kotlin.Unit
|
||||
public abstract fun foo(): kotlin.MutableCollection<kotlin.String>
|
||||
public abstract fun foo(): kotlin.collections.MutableCollection<kotlin.String>
|
||||
}
|
||||
}
|
||||
|
||||
+2
-2
@@ -4,11 +4,11 @@ public interface InheritNullabilitySameGenericType {
|
||||
|
||||
public interface Sub : test.InheritNullabilitySameGenericType.Super {
|
||||
public abstract override /*1*/ /*fake_override*/ fun dummy(): kotlin.Unit
|
||||
public abstract override /*1*/ fun foo(): kotlin.MutableList<kotlin.String>
|
||||
public abstract override /*1*/ fun foo(): kotlin.collections.MutableList<kotlin.String>
|
||||
}
|
||||
|
||||
public interface Super {
|
||||
public abstract fun dummy(): kotlin.Unit
|
||||
public abstract fun foo(): kotlin.MutableList<kotlin.String>
|
||||
public abstract fun foo(): kotlin.collections.MutableList<kotlin.String>
|
||||
}
|
||||
}
|
||||
|
||||
+2
-2
@@ -4,11 +4,11 @@ public interface InheritProjectionKind {
|
||||
|
||||
public interface Sub : test.InheritProjectionKind.Super {
|
||||
public abstract override /*1*/ /*fake_override*/ fun dummy(): kotlin.Unit
|
||||
public abstract override /*1*/ fun foo(): kotlin.MutableList<out kotlin.Number>
|
||||
public abstract override /*1*/ fun foo(): kotlin.collections.MutableList<out kotlin.Number>
|
||||
}
|
||||
|
||||
public interface Super {
|
||||
public abstract fun dummy(): kotlin.Unit
|
||||
public abstract fun foo(): kotlin.MutableCollection<out kotlin.Number>
|
||||
public abstract fun foo(): kotlin.collections.MutableCollection<out kotlin.Number>
|
||||
}
|
||||
}
|
||||
|
||||
+2
-2
@@ -4,11 +4,11 @@ public interface InheritReadOnlinessOfArgument {
|
||||
|
||||
public interface Sub : test.InheritReadOnlinessOfArgument.Super {
|
||||
public abstract override /*1*/ /*fake_override*/ fun dummy(): kotlin.Unit
|
||||
public abstract override /*1*/ fun foo(): kotlin.List<kotlin.List<kotlin.String>>
|
||||
public abstract override /*1*/ fun foo(): kotlin.collections.List<kotlin.collections.List<kotlin.String>>
|
||||
}
|
||||
|
||||
public interface Super {
|
||||
public abstract fun dummy(): kotlin.Unit
|
||||
public abstract fun foo(): kotlin.List<kotlin.List<kotlin.String>>
|
||||
public abstract fun foo(): kotlin.collections.List<kotlin.collections.List<kotlin.String>>
|
||||
}
|
||||
}
|
||||
|
||||
+2
-2
@@ -4,11 +4,11 @@ public interface InheritReadOnlinessSameClass {
|
||||
|
||||
public interface Sub : test.InheritReadOnlinessSameClass.Super {
|
||||
public abstract override /*1*/ /*fake_override*/ fun dummy(): kotlin.Unit
|
||||
public abstract override /*1*/ fun foo(): kotlin.List<kotlin.String>
|
||||
public abstract override /*1*/ fun foo(): kotlin.collections.List<kotlin.String>
|
||||
}
|
||||
|
||||
public interface Super {
|
||||
public abstract fun dummy(): kotlin.Unit
|
||||
public abstract fun foo(): kotlin.List<kotlin.String>
|
||||
public abstract fun foo(): kotlin.collections.List<kotlin.String>
|
||||
}
|
||||
}
|
||||
|
||||
+2
-2
@@ -4,11 +4,11 @@ public interface InheritReadOnlinessSubclass {
|
||||
|
||||
public interface Sub : test.InheritReadOnlinessSubclass.Super {
|
||||
public abstract override /*1*/ /*fake_override*/ fun dummy(): kotlin.Unit
|
||||
public abstract override /*1*/ fun foo(): kotlin.List<kotlin.String>
|
||||
public abstract override /*1*/ fun foo(): kotlin.collections.List<kotlin.String>
|
||||
}
|
||||
|
||||
public interface Super {
|
||||
public abstract fun dummy(): kotlin.Unit
|
||||
public abstract fun foo(): kotlin.Collection<kotlin.String>
|
||||
public abstract fun foo(): kotlin.collections.Collection<kotlin.String>
|
||||
}
|
||||
}
|
||||
|
||||
+2
-2
@@ -4,11 +4,11 @@ public interface SameProjectionKind {
|
||||
|
||||
public interface Sub : test.SameProjectionKind.Super {
|
||||
public abstract override /*1*/ /*fake_override*/ fun dummy(): kotlin.Unit
|
||||
public abstract override /*1*/ fun foo(): kotlin.MutableCollection<out kotlin.Number?>?
|
||||
public abstract override /*1*/ fun foo(): kotlin.collections.MutableCollection<out kotlin.Number?>?
|
||||
}
|
||||
|
||||
public interface Super {
|
||||
public abstract fun dummy(): kotlin.Unit
|
||||
public abstract fun foo(): kotlin.MutableCollection<out kotlin.Number?>?
|
||||
public abstract fun foo(): kotlin.collections.MutableCollection<out kotlin.Number?>?
|
||||
}
|
||||
}
|
||||
|
||||
+6
-6
@@ -1,16 +1,16 @@
|
||||
package test
|
||||
|
||||
public interface SubclassOfCollection</*0*/ E> : kotlin.MutableCollection<E> {
|
||||
public interface SubclassOfCollection</*0*/ E> : kotlin.collections.MutableCollection<E> {
|
||||
public abstract override /*1*/ /*fake_override*/ val size: kotlin.Int
|
||||
public abstract override /*1*/ /*fake_override*/ fun <get-size>(): kotlin.Int
|
||||
public abstract override /*1*/ /*fake_override*/ fun add(/*0*/ element: E): kotlin.Boolean
|
||||
public abstract override /*1*/ /*fake_override*/ fun addAll(/*0*/ elements: kotlin.Collection<E>): kotlin.Boolean
|
||||
public abstract override /*1*/ /*fake_override*/ fun addAll(/*0*/ elements: kotlin.collections.Collection<E>): kotlin.Boolean
|
||||
public abstract override /*1*/ /*fake_override*/ fun clear(): kotlin.Unit
|
||||
public abstract override /*1*/ /*fake_override*/ fun contains(/*0*/ element: E): kotlin.Boolean
|
||||
public abstract override /*1*/ /*fake_override*/ fun containsAll(/*0*/ elements: kotlin.Collection<E>): kotlin.Boolean
|
||||
public abstract override /*1*/ /*fake_override*/ fun containsAll(/*0*/ elements: kotlin.collections.Collection<E>): kotlin.Boolean
|
||||
public abstract override /*1*/ /*fake_override*/ fun isEmpty(): kotlin.Boolean
|
||||
public abstract override /*1*/ fun iterator(): kotlin.MutableIterator<E>
|
||||
public abstract override /*1*/ fun iterator(): kotlin.collections.MutableIterator<E>
|
||||
public abstract override /*1*/ /*fake_override*/ fun remove(/*0*/ element: E): kotlin.Boolean
|
||||
public abstract override /*1*/ /*fake_override*/ fun removeAll(/*0*/ elements: kotlin.Collection<E>): kotlin.Boolean
|
||||
public abstract override /*1*/ /*fake_override*/ fun retainAll(/*0*/ elements: kotlin.Collection<E>): kotlin.Boolean
|
||||
public abstract override /*1*/ /*fake_override*/ fun removeAll(/*0*/ elements: kotlin.collections.Collection<E>): kotlin.Boolean
|
||||
public abstract override /*1*/ /*fake_override*/ fun retainAll(/*0*/ elements: kotlin.collections.Collection<E>): kotlin.Boolean
|
||||
}
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
package test
|
||||
|
||||
public interface SubclassOfMapEntry</*0*/ K, /*1*/ V> : kotlin.MutableMap.MutableEntry<K, V> {
|
||||
public interface SubclassOfMapEntry</*0*/ K, /*1*/ V> : kotlin.collections.MutableMap.MutableEntry<K, V> {
|
||||
public abstract override /*1*/ /*fake_override*/ val key: K
|
||||
public abstract override /*1*/ /*fake_override*/ fun <get-key>(): K
|
||||
public abstract override /*1*/ val value: V
|
||||
|
||||
+3
-3
@@ -4,16 +4,16 @@ public interface TwoSuperclassesConflictingProjectionKinds {
|
||||
|
||||
public interface Sub : test.TwoSuperclassesConflictingProjectionKinds.Super1, test.TwoSuperclassesConflictingProjectionKinds.Super2 {
|
||||
public abstract override /*2*/ /*fake_override*/ fun dummy(): kotlin.Unit
|
||||
public abstract override /*2*/ fun foo(): kotlin.MutableCollection<kotlin.CharSequence>
|
||||
public abstract override /*2*/ fun foo(): kotlin.collections.MutableCollection<kotlin.CharSequence>
|
||||
}
|
||||
|
||||
public interface Super1 {
|
||||
public abstract fun dummy(): kotlin.Unit
|
||||
public abstract fun foo(): kotlin.MutableCollection<kotlin.CharSequence>
|
||||
public abstract fun foo(): kotlin.collections.MutableCollection<kotlin.CharSequence>
|
||||
}
|
||||
|
||||
public interface Super2 {
|
||||
public abstract fun dummy(): kotlin.Unit
|
||||
public abstract fun foo(): kotlin.MutableCollection<out kotlin.CharSequence>
|
||||
public abstract fun foo(): kotlin.collections.MutableCollection<out kotlin.CharSequence>
|
||||
}
|
||||
}
|
||||
|
||||
+3
-3
@@ -4,16 +4,16 @@ public interface TwoSuperclassesInvariantAndCovariantInferMutability {
|
||||
|
||||
public interface Sub : test.TwoSuperclassesInvariantAndCovariantInferMutability.Super1, test.TwoSuperclassesInvariantAndCovariantInferMutability.Super2 {
|
||||
public abstract override /*2*/ /*fake_override*/ fun dummy(): kotlin.Unit
|
||||
public abstract override /*2*/ fun foo(): kotlin.MutableList<kotlin.MutableList<kotlin.String>>
|
||||
public abstract override /*2*/ fun foo(): kotlin.collections.MutableList<kotlin.collections.MutableList<kotlin.String>>
|
||||
}
|
||||
|
||||
public interface Super1 {
|
||||
public abstract fun dummy(): kotlin.Unit
|
||||
public abstract fun foo(): kotlin.List<kotlin.List<kotlin.String>>
|
||||
public abstract fun foo(): kotlin.collections.List<kotlin.collections.List<kotlin.String>>
|
||||
}
|
||||
|
||||
public interface Super2 {
|
||||
public abstract fun dummy(): kotlin.Unit
|
||||
public abstract fun foo(): kotlin.MutableList<kotlin.MutableList<kotlin.String>>
|
||||
public abstract fun foo(): kotlin.collections.MutableList<kotlin.collections.MutableList<kotlin.String>>
|
||||
}
|
||||
}
|
||||
|
||||
+3
-3
@@ -4,16 +4,16 @@ public interface TwoSuperclassesInvariantAndCovariantInferNullability {
|
||||
|
||||
public interface Sub : test.TwoSuperclassesInvariantAndCovariantInferNullability.Super1, test.TwoSuperclassesInvariantAndCovariantInferNullability.Super2 {
|
||||
public abstract override /*2*/ /*fake_override*/ fun dummy(): kotlin.Unit
|
||||
public abstract override /*2*/ fun foo(): kotlin.MutableList<kotlin.String>
|
||||
public abstract override /*2*/ fun foo(): kotlin.collections.MutableList<kotlin.String>
|
||||
}
|
||||
|
||||
public interface Super1 {
|
||||
public abstract fun dummy(): kotlin.Unit
|
||||
public abstract fun foo(): kotlin.List<kotlin.String?>
|
||||
public abstract fun foo(): kotlin.collections.List<kotlin.String?>
|
||||
}
|
||||
|
||||
public interface Super2 {
|
||||
public abstract fun dummy(): kotlin.Unit
|
||||
public abstract fun foo(): kotlin.MutableList<kotlin.String>
|
||||
public abstract fun foo(): kotlin.collections.MutableList<kotlin.String>
|
||||
}
|
||||
}
|
||||
|
||||
+3
-3
@@ -4,16 +4,16 @@ public interface TwoSuperclassesMutableAndNot {
|
||||
|
||||
public interface Sub : test.TwoSuperclassesMutableAndNot.Super1, test.TwoSuperclassesMutableAndNot.Super2 {
|
||||
public abstract override /*2*/ /*fake_override*/ fun dummy(): kotlin.Unit
|
||||
public abstract override /*2*/ fun foo(): kotlin.MutableList<kotlin.String>
|
||||
public abstract override /*2*/ fun foo(): kotlin.collections.MutableList<kotlin.String>
|
||||
}
|
||||
|
||||
public interface Super1 {
|
||||
public abstract fun dummy(): kotlin.Unit
|
||||
public abstract fun foo(): kotlin.MutableCollection<kotlin.String>
|
||||
public abstract fun foo(): kotlin.collections.MutableCollection<kotlin.String>
|
||||
}
|
||||
|
||||
public interface Super2 {
|
||||
public abstract fun dummy(): kotlin.Unit
|
||||
public abstract fun foo(): kotlin.List<kotlin.String>
|
||||
public abstract fun foo(): kotlin.collections.List<kotlin.String>
|
||||
}
|
||||
}
|
||||
|
||||
+3
-3
@@ -4,16 +4,16 @@ public interface TwoSuperclassesSupplementNotNull {
|
||||
|
||||
public interface Sub : test.TwoSuperclassesSupplementNotNull.Super1, test.TwoSuperclassesSupplementNotNull.Super2 {
|
||||
public abstract override /*2*/ /*fake_override*/ fun dummy(): kotlin.Unit
|
||||
public abstract override /*2*/ fun foo(): kotlin.List<kotlin.String>
|
||||
public abstract override /*2*/ fun foo(): kotlin.collections.List<kotlin.String>
|
||||
}
|
||||
|
||||
public interface Super1 {
|
||||
public abstract fun dummy(): kotlin.Unit
|
||||
public abstract fun foo(): kotlin.List<kotlin.String?>
|
||||
public abstract fun foo(): kotlin.collections.List<kotlin.String?>
|
||||
}
|
||||
|
||||
public interface Super2 {
|
||||
public abstract fun dummy(): kotlin.Unit
|
||||
public abstract fun foo(): kotlin.List<kotlin.String>?
|
||||
public abstract fun foo(): kotlin.collections.List<kotlin.String>?
|
||||
}
|
||||
}
|
||||
|
||||
+2
-2
@@ -3,10 +3,10 @@ package test
|
||||
public interface InheritMutability {
|
||||
|
||||
public interface Sub : test.InheritMutability.Super {
|
||||
public abstract override /*1*/ fun </*0*/ B : kotlin.MutableList<kotlin.String>> foo(/*0*/ a: B): kotlin.Unit
|
||||
public abstract override /*1*/ fun </*0*/ B : kotlin.collections.MutableList<kotlin.String>> foo(/*0*/ a: B): kotlin.Unit
|
||||
}
|
||||
|
||||
public interface Super {
|
||||
public abstract fun </*0*/ A : kotlin.MutableList<kotlin.String>> foo(/*0*/ a: A): kotlin.Unit
|
||||
public abstract fun </*0*/ A : kotlin.collections.MutableList<kotlin.String>> foo(/*0*/ a: A): kotlin.Unit
|
||||
}
|
||||
}
|
||||
|
||||
+2
-2
@@ -3,10 +3,10 @@ package test
|
||||
public interface InheritReadOnliness {
|
||||
|
||||
public interface Sub : test.InheritReadOnliness.Super {
|
||||
public abstract override /*1*/ fun </*0*/ B : kotlin.List<kotlin.String>> foo(/*0*/ a: B): kotlin.Unit
|
||||
public abstract override /*1*/ fun </*0*/ B : kotlin.collections.List<kotlin.String>> foo(/*0*/ a: B): kotlin.Unit
|
||||
}
|
||||
|
||||
public interface Super {
|
||||
public abstract fun </*0*/ A : kotlin.List<kotlin.String>> foo(/*0*/ a: A): kotlin.Unit
|
||||
public abstract fun </*0*/ A : kotlin.collections.List<kotlin.String>> foo(/*0*/ a: A): kotlin.Unit
|
||||
}
|
||||
}
|
||||
|
||||
+2
-2
@@ -3,10 +3,10 @@ package test
|
||||
public interface UseParameterInUpperBound {
|
||||
|
||||
public interface Sub : test.UseParameterInUpperBound.Super {
|
||||
public abstract override /*1*/ fun </*0*/ B, /*1*/ A : kotlin.List<B>> foo(/*0*/ a: B, /*1*/ b: A): kotlin.Unit
|
||||
public abstract override /*1*/ fun </*0*/ B, /*1*/ A : kotlin.collections.List<B>> foo(/*0*/ a: B, /*1*/ b: A): kotlin.Unit
|
||||
}
|
||||
|
||||
public interface Super {
|
||||
public abstract fun </*0*/ A, /*1*/ B : kotlin.List<A>> foo(/*0*/ a: A, /*1*/ b: B): kotlin.Unit
|
||||
public abstract fun </*0*/ A, /*1*/ B : kotlin.collections.List<A>> foo(/*0*/ a: A, /*1*/ b: B): kotlin.Unit
|
||||
}
|
||||
}
|
||||
|
||||
+2
-2
@@ -3,10 +3,10 @@ package test
|
||||
public interface UseParameterInUpperBoundWithKotlinSignature {
|
||||
|
||||
public interface Sub : test.UseParameterInUpperBoundWithKotlinSignature.Super {
|
||||
public abstract override /*1*/ fun </*0*/ B, /*1*/ A : kotlin.List<B>> foo(/*0*/ b: B, /*1*/ a: A): kotlin.Unit
|
||||
public abstract override /*1*/ fun </*0*/ B, /*1*/ A : kotlin.collections.List<B>> foo(/*0*/ b: B, /*1*/ a: A): kotlin.Unit
|
||||
}
|
||||
|
||||
public interface Super {
|
||||
public abstract fun </*0*/ A, /*1*/ B : kotlin.List<A>> foo(/*0*/ a: A, /*1*/ b: B): kotlin.Unit
|
||||
public abstract fun </*0*/ A, /*1*/ B : kotlin.collections.List<A>> foo(/*0*/ a: A, /*1*/ b: B): kotlin.Unit
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user