Replace "jet" package name with "kotlin" in testData
This commit is contained in:
+1
-1
@@ -2,5 +2,5 @@ package test
|
||||
|
||||
public open class ArrayType : java.lang.Object {
|
||||
public constructor ArrayType()
|
||||
public open fun foo(): jet.Array<jet.String>
|
||||
public open fun foo(): kotlin.Array<kotlin.String>
|
||||
}
|
||||
|
||||
+1
-1
@@ -7,4 +7,4 @@ public class ConstructorWithNewTypeParams<T> {
|
||||
@KotlinSignature("fun ConstructorWithNewTypeParams(first : Any)") // TODO: first : U doesn't work
|
||||
public <U>ConstructorWithNewTypeParams(U first) {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package test
|
||||
|
||||
public open class ConstructorWithNewTypeParams<T>(p0 : Any) : java.lang.Object() {
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
package test
|
||||
|
||||
public open class ConstructorWithNewTypeParams</*0*/ T> : java.lang.Object {
|
||||
public constructor ConstructorWithNewTypeParams</*0*/ T>(/*0*/ p0: jet.Any)
|
||||
public constructor ConstructorWithNewTypeParams</*0*/ T>(/*0*/ p0: kotlin.Any)
|
||||
}
|
||||
|
||||
+1
-1
@@ -7,4 +7,4 @@ public class ConstructorWithParentTypeParams<T> {
|
||||
@KotlinSignature("fun ConstructorWithParentTypeParams(first: T)")
|
||||
public ConstructorWithParentTypeParams(T first) {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package test
|
||||
|
||||
public open class ConstructorWithParentTypeParams<T>(p0 : T) : java.lang.Object() {
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -7,4 +7,4 @@ public class ConstructorWithSeveralParams {
|
||||
@KotlinSignature("fun ConstructorWithSeveralParams(integer : Int, intField : Int, collection: ArrayList<String>)")
|
||||
public ConstructorWithSeveralParams(Integer integer, int intBasic, ArrayList<String> collection) {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -3,4 +3,4 @@ package test
|
||||
import java.util.*
|
||||
|
||||
public open class ConstructorWithSeveralParams(p0: Int, p1 : Int, p2 : ArrayList<String>) : java.lang.Object() {
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
package test
|
||||
|
||||
public open class ConstructorWithSeveralParams : java.lang.Object {
|
||||
public constructor ConstructorWithSeveralParams(/*0*/ p0: jet.Int, /*1*/ p1: jet.Int, /*2*/ p2: java.util.ArrayList<jet.String>)
|
||||
public constructor ConstructorWithSeveralParams(/*0*/ p0: kotlin.Int, /*1*/ p1: kotlin.Int, /*2*/ p2: java.util.ArrayList<kotlin.String>)
|
||||
}
|
||||
|
||||
+1
-1
@@ -7,4 +7,4 @@ public class ConstructorWithoutParams {
|
||||
@KotlinSignature("fun ConstructorWithoutParams()")
|
||||
public ConstructorWithoutParams() {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package test
|
||||
|
||||
public open class ConstructorWithoutParams() : java.lang.Object() {
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -2,5 +2,5 @@ package test
|
||||
|
||||
public open class CustomProjectionKind : java.lang.Object {
|
||||
public constructor CustomProjectionKind()
|
||||
public open fun foo(): jet.MutableList<out jet.Number>
|
||||
public open fun foo(): kotlin.MutableList<out kotlin.Number>
|
||||
}
|
||||
|
||||
+1
-1
@@ -4,7 +4,7 @@ import java.lang.String;
|
||||
import java.lang.UnsupportedOperationException;
|
||||
import java.util.*;
|
||||
import jet.runtime.typeinfo.KotlinSignature;
|
||||
import jet.*;
|
||||
import kotlin.*;
|
||||
|
||||
public class MethodWithFunctionTypes {
|
||||
@KotlinSignature("fun foo(f : (String?) -> String) : (String.() -> String?)?")
|
||||
|
||||
+1
-1
@@ -2,5 +2,5 @@ package test
|
||||
|
||||
public open class MethodWithFunctionTypes : java.lang.Object {
|
||||
public constructor MethodWithFunctionTypes()
|
||||
public open fun foo(/*0*/ p0: (jet.String?) -> jet.String): (jet.String.() -> jet.String?)?
|
||||
public open fun foo(/*0*/ p0: (kotlin.String?) -> kotlin.String): (kotlin.String.() -> kotlin.String?)?
|
||||
}
|
||||
|
||||
+1
-1
@@ -2,5 +2,5 @@ package test
|
||||
|
||||
public open class MethodWithGenerics : java.lang.Object {
|
||||
public constructor MethodWithGenerics()
|
||||
public open fun foo(/*0*/ p0: jet.String, /*1*/ p1: jet.List<jet.Map.Entry<jet.String?, jet.String>?>): jet.String
|
||||
public open fun foo(/*0*/ p0: kotlin.String, /*1*/ p1: kotlin.List<kotlin.Map.Entry<kotlin.String?, kotlin.String>?>): kotlin.String
|
||||
}
|
||||
|
||||
+1
-1
@@ -2,5 +2,5 @@ package test
|
||||
|
||||
public open class MethodWithMappedClasses : java.lang.Object {
|
||||
public constructor MethodWithMappedClasses()
|
||||
public open fun </*0*/ T> copy(/*0*/ p0: jet.MutableList<in T>, /*1*/ p1: jet.List<T>): jet.Unit
|
||||
public open fun </*0*/ T> copy(/*0*/ p0: kotlin.MutableList<in T>, /*1*/ p1: kotlin.List<T>): kotlin.Unit
|
||||
}
|
||||
|
||||
+1
-1
@@ -2,5 +2,5 @@ package test
|
||||
|
||||
public open class MethodWithTypeParameters : java.lang.Object {
|
||||
public constructor MethodWithTypeParameters()
|
||||
public open fun </*0*/ A, /*1*/ B : java.lang.Runnable> foo(/*0*/ p0: A, /*1*/ p1: jet.List<B>, /*2*/ p2: jet.MutableList<in jet.String?>): jet.Unit where B : jet.List<java.lang.Cloneable>
|
||||
public open fun </*0*/ A, /*1*/ B : java.lang.Runnable> foo(/*0*/ p0: A, /*1*/ p1: kotlin.List<B>, /*2*/ p2: kotlin.MutableList<in kotlin.String?>): kotlin.Unit where B : kotlin.List<java.lang.Cloneable>
|
||||
}
|
||||
|
||||
+1
-1
@@ -2,5 +2,5 @@ package test
|
||||
|
||||
public open class MethodWithVararg : java.lang.Object {
|
||||
public constructor MethodWithVararg()
|
||||
public open fun foo(/*0*/ vararg p0: jet.String /*jet.Array<jet.String>*/): jet.Unit
|
||||
public open fun foo(/*0*/ vararg p0: kotlin.String /*kotlin.Array<kotlin.String>*/): kotlin.Unit
|
||||
}
|
||||
|
||||
+3
-3
@@ -2,7 +2,7 @@ package test
|
||||
|
||||
public open class PropertyArrayTypes</*0*/ T> : java.lang.Object {
|
||||
public constructor PropertyArrayTypes</*0*/ T>()
|
||||
public final var array: jet.Array<jet.String>
|
||||
public final var arrayOfArrays: jet.Array<jet.Array<jet.String>>
|
||||
public final var genericArray: jet.Array<T>
|
||||
public final var array: kotlin.Array<kotlin.String>
|
||||
public final var arrayOfArrays: kotlin.Array<kotlin.Array<kotlin.String>>
|
||||
public final var genericArray: kotlin.Array<T>
|
||||
}
|
||||
|
||||
+1
-1
@@ -3,7 +3,7 @@ package test
|
||||
public open class PropertyComplexTypes</*0*/ T> : java.lang.Object {
|
||||
public constructor PropertyComplexTypes</*0*/ T>()
|
||||
public final var genericType: T
|
||||
public final var listDefinedGeneric: java.util.ArrayList<jet.String>
|
||||
public final var listDefinedGeneric: java.util.ArrayList<kotlin.String>
|
||||
public final var listGeneric: java.util.ArrayList<T>
|
||||
public final var listOfGenericList: java.util.ArrayList<java.util.ArrayList<T>>
|
||||
}
|
||||
|
||||
+2
-2
@@ -2,6 +2,6 @@ package test
|
||||
|
||||
public open class PropertySimpleType : java.lang.Object {
|
||||
public constructor PropertySimpleType()
|
||||
public final var fieldOne: jet.String
|
||||
public final var fieldTwo: jet.String?
|
||||
public final var fieldOne: kotlin.String
|
||||
public final var fieldTwo: kotlin.String?
|
||||
}
|
||||
|
||||
+2
-2
@@ -2,8 +2,8 @@ package test
|
||||
|
||||
public final class StarProjection : java.lang.Object {
|
||||
public constructor StarProjection()
|
||||
public final fun foo(): test.StarProjection.MyClass<out jet.CharSequence?>
|
||||
public final fun foo(): test.StarProjection.MyClass<out kotlin.CharSequence?>
|
||||
|
||||
public trait MyClass</*0*/ T : jet.CharSequence?> : java.lang.Object {
|
||||
public trait MyClass</*0*/ T : kotlin.CharSequence?> : java.lang.Object {
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -4,7 +4,7 @@ import jet.runtime.typeinfo.KotlinSignature;
|
||||
import org.jetbrains.jet.jvm.compiler.annotation.ExpectLoadError;
|
||||
|
||||
public class AddingNullability {
|
||||
@ExpectLoadError("Auto type 'jet.Int' is not-null, while type in alternative signature is nullable: 'Int?'")
|
||||
@ExpectLoadError("Auto type 'kotlin.Int' is not-null, while type in alternative signature is nullable: 'Int?'")
|
||||
@KotlinSignature("fun foo() : Int?")
|
||||
public int foo() {
|
||||
throw new UnsupportedOperationException();
|
||||
|
||||
+1
-1
@@ -2,5 +2,5 @@ package test
|
||||
|
||||
public open class AddingNullability : java.lang.Object {
|
||||
public constructor AddingNullability()
|
||||
public open fun foo(): jet.Int
|
||||
public open fun foo(): kotlin.Int
|
||||
}
|
||||
|
||||
+1
-1
@@ -7,7 +7,7 @@ import jet.runtime.typeinfo.KotlinSignature;
|
||||
import org.jetbrains.jet.jvm.compiler.annotation.ExpectLoadError;
|
||||
|
||||
public class ConflictingProjectionKind {
|
||||
@ExpectLoadError("Projection kind 'in' is conflicting with variance of jet.List")
|
||||
@ExpectLoadError("Projection kind 'in' is conflicting with variance of kotlin.List")
|
||||
@KotlinSignature("fun foo(list: List<in Number>)")
|
||||
public void foo(List<Number> list) {
|
||||
throw new UnsupportedOperationException();
|
||||
|
||||
+1
-1
@@ -2,5 +2,5 @@ package test
|
||||
|
||||
public open class ConflictingProjectionKind : java.lang.Object {
|
||||
public constructor ConflictingProjectionKind()
|
||||
public open fun foo(/*0*/ p0: jet.List<jet.Number>?): jet.Unit
|
||||
public open fun foo(/*0*/ p0: kotlin.List<kotlin.Number>?): kotlin.Unit
|
||||
}
|
||||
|
||||
+1
-1
@@ -2,5 +2,5 @@ package test
|
||||
|
||||
public open class ExplicitFieldGettersAndSetters : java.lang.Object {
|
||||
public constructor ExplicitFieldGettersAndSetters()
|
||||
public final var foo: jet.String?
|
||||
public final var foo: kotlin.String?
|
||||
}
|
||||
|
||||
+1
-1
@@ -2,5 +2,5 @@ package test
|
||||
|
||||
public open class ExtraUpperBound : java.lang.Object {
|
||||
public constructor ExtraUpperBound()
|
||||
public open fun </*0*/ A : java.lang.Runnable?> foo(): jet.String?
|
||||
public open fun </*0*/ A : java.lang.Runnable?> foo(): kotlin.String?
|
||||
}
|
||||
|
||||
+1
-1
@@ -2,5 +2,5 @@ package test
|
||||
|
||||
public open class MissingUpperBound : java.lang.Object {
|
||||
public constructor MissingUpperBound()
|
||||
public open fun </*0*/ A : java.lang.Runnable?> foo(): jet.String? where A : java.lang.Cloneable?
|
||||
public open fun </*0*/ A : java.lang.Runnable?> foo(): kotlin.String? where A : java.lang.Cloneable?
|
||||
}
|
||||
|
||||
+1
-1
@@ -2,5 +2,5 @@ package test
|
||||
|
||||
public open class NoFieldTypeRef : java.lang.Object {
|
||||
public constructor NoFieldTypeRef()
|
||||
public final var foo: jet.String?
|
||||
public final var foo: kotlin.String?
|
||||
}
|
||||
|
||||
+1
-1
@@ -2,5 +2,5 @@ package test
|
||||
|
||||
public open class NotVarargReplacedWithVararg : java.lang.Object {
|
||||
public constructor NotVarargReplacedWithVararg()
|
||||
public open fun foo(/*0*/ p0: jet.String?): jet.Unit
|
||||
public open fun foo(/*0*/ p0: kotlin.String?): kotlin.Unit
|
||||
}
|
||||
|
||||
+1
-1
@@ -2,5 +2,5 @@ package test
|
||||
|
||||
public open class RedundantProjectionKind : java.lang.Object {
|
||||
public constructor RedundantProjectionKind()
|
||||
public open fun foo(/*0*/ p0: jet.List<jet.Number>): jet.Unit
|
||||
public open fun foo(/*0*/ p0: kotlin.List<kotlin.Number>): kotlin.Unit
|
||||
}
|
||||
|
||||
+1
-1
@@ -4,7 +4,7 @@ import jet.runtime.typeinfo.KotlinSignature;
|
||||
import org.jetbrains.jet.jvm.compiler.annotation.ExpectLoadError;
|
||||
|
||||
public class ReturnTypeMissing {
|
||||
@ExpectLoadError("Return type in alternative signature is missing, while in real signature it is 'jet.Int'")
|
||||
@ExpectLoadError("Return type in alternative signature is missing, while in real signature it is 'kotlin.Int'")
|
||||
@KotlinSignature("fun foo(a : String)")
|
||||
public int foo(String a) {
|
||||
throw new UnsupportedOperationException();
|
||||
|
||||
+1
-1
@@ -2,5 +2,5 @@ package test
|
||||
|
||||
public open class ReturnTypeMissing : java.lang.Object {
|
||||
public constructor ReturnTypeMissing()
|
||||
public open fun foo(/*0*/ p0: jet.String?): jet.Int
|
||||
public open fun foo(/*0*/ p0: kotlin.String?): kotlin.Int
|
||||
}
|
||||
|
||||
+1
-1
@@ -2,5 +2,5 @@ package test
|
||||
|
||||
public open class SyntaxError : java.lang.Object {
|
||||
public constructor SyntaxError()
|
||||
public open fun foo(): jet.Int?
|
||||
public open fun foo(): kotlin.Int?
|
||||
}
|
||||
|
||||
+1
-1
@@ -4,4 +4,4 @@ import java.util.*
|
||||
|
||||
public open class SyntaxErrorInFieldAnnotation : Object() {
|
||||
public var foo : String? = ""
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -2,5 +2,5 @@ package test
|
||||
|
||||
public open class SyntaxErrorInFieldAnnotation : java.lang.Object {
|
||||
public constructor SyntaxErrorInFieldAnnotation()
|
||||
public final var foo: jet.String?
|
||||
public final var foo: kotlin.String?
|
||||
}
|
||||
|
||||
+1
-1
@@ -2,5 +2,5 @@ package test
|
||||
|
||||
public open class VarargReplacedWithNotVararg : java.lang.Object {
|
||||
public constructor VarargReplacedWithNotVararg()
|
||||
public open fun foo(/*0*/ vararg p0: jet.String? /*jet.Array<jet.String?>*/): jet.Unit
|
||||
public open fun foo(/*0*/ vararg p0: kotlin.String? /*kotlin.Array<kotlin.String?>*/): kotlin.Unit
|
||||
}
|
||||
|
||||
+1
-1
@@ -2,5 +2,5 @@ package test
|
||||
|
||||
public open class WrongFieldInitializer : java.lang.Object {
|
||||
public constructor WrongFieldInitializer()
|
||||
public final var foo: jet.String?
|
||||
public final var foo: kotlin.String?
|
||||
}
|
||||
|
||||
+2
-2
@@ -2,6 +2,6 @@ package test
|
||||
|
||||
public open class WrongFieldMutability : java.lang.Object {
|
||||
public constructor WrongFieldMutability()
|
||||
public final val fooFinal: jet.String?
|
||||
public final var fooNotFinal: jet.String?
|
||||
public final val fooFinal: kotlin.String?
|
||||
public final var fooNotFinal: kotlin.String?
|
||||
}
|
||||
|
||||
+1
-1
@@ -2,5 +2,5 @@ package test
|
||||
|
||||
public open class WrongFieldName : java.lang.Object {
|
||||
public constructor WrongFieldName()
|
||||
public final var foo: jet.String?
|
||||
public final var foo: kotlin.String?
|
||||
}
|
||||
|
||||
+1
-1
@@ -2,5 +2,5 @@ package test
|
||||
|
||||
public open class WrongMethodName : java.lang.Object {
|
||||
public constructor WrongMethodName()
|
||||
public open fun foo(): jet.String?
|
||||
public open fun foo(): kotlin.String?
|
||||
}
|
||||
|
||||
+1
-1
@@ -2,5 +2,5 @@ package test
|
||||
|
||||
public open class WrongProjectionKind : java.lang.Object {
|
||||
public constructor WrongProjectionKind()
|
||||
public open fun copy(/*0*/ p0: jet.Array<out jet.Number>?, /*1*/ p1: jet.Array<out jet.Number>?): jet.MutableList<jet.Number>?
|
||||
public open fun copy(/*0*/ p0: kotlin.Array<out kotlin.Number>?, /*1*/ p1: kotlin.Array<out kotlin.Number>?): kotlin.MutableList<kotlin.Number>?
|
||||
}
|
||||
|
||||
+1
-1
@@ -5,7 +5,7 @@ import jet.runtime.typeinfo.KotlinSignature;
|
||||
import org.jetbrains.jet.jvm.compiler.annotation.ExpectLoadError;
|
||||
|
||||
public class WrongReturnTypeStructure {
|
||||
@ExpectLoadError("'jet.String?' type in method signature has 0 type arguments, while 'String<Int>' in alternative signature has 1 of them")
|
||||
@ExpectLoadError("'kotlin.String?' type in method signature has 0 type arguments, while 'String<Int>' in alternative signature has 1 of them")
|
||||
@KotlinSignature("fun foo(a : String, b : List<Map.Entry<String?, String>?>) : String<Int>?")
|
||||
public String foo(String a, List<Map.Entry<String, String>> b) {
|
||||
throw new UnsupportedOperationException();
|
||||
|
||||
+1
-1
@@ -2,5 +2,5 @@ package test
|
||||
|
||||
public open class WrongReturnTypeStructure : java.lang.Object {
|
||||
public constructor WrongReturnTypeStructure()
|
||||
public open fun foo(/*0*/ p0: jet.String?, /*1*/ p1: jet.List<jet.Map.Entry<jet.String, jet.String>>?): jet.String?
|
||||
public open fun foo(/*0*/ p0: kotlin.String?, /*1*/ p1: kotlin.List<kotlin.Map.Entry<kotlin.String, kotlin.String>>?): kotlin.String?
|
||||
}
|
||||
|
||||
+1
-1
@@ -5,7 +5,7 @@ import jet.runtime.typeinfo.KotlinSignature;
|
||||
import org.jetbrains.jet.jvm.compiler.annotation.ExpectLoadError;
|
||||
|
||||
public class WrongTypeName1 {
|
||||
@ExpectLoadError("Alternative signature type mismatch, expected: Unit, actual: jet.String")
|
||||
@ExpectLoadError("Alternative signature type mismatch, expected: Unit, actual: kotlin.String")
|
||||
@KotlinSignature("fun foo(a : String) : Unit")
|
||||
public String foo(String a) {
|
||||
throw new UnsupportedOperationException();
|
||||
|
||||
+1
-1
@@ -2,5 +2,5 @@ package test
|
||||
|
||||
public open class WrongTypeName1 : java.lang.Object {
|
||||
public constructor WrongTypeName1()
|
||||
public open fun foo(/*0*/ p0: jet.String?): jet.String?
|
||||
public open fun foo(/*0*/ p0: kotlin.String?): kotlin.String?
|
||||
}
|
||||
|
||||
+1
-1
@@ -5,7 +5,7 @@ import jet.runtime.typeinfo.KotlinSignature;
|
||||
import org.jetbrains.jet.jvm.compiler.annotation.ExpectLoadError;
|
||||
|
||||
public class WrongTypeName2 {
|
||||
@ExpectLoadError("Alternative signature type mismatch, expected: Something.String, actual: jet.String")
|
||||
@ExpectLoadError("Alternative signature type mismatch, expected: Something.String, actual: kotlin.String")
|
||||
@KotlinSignature("fun foo(a : Something.String) : String")
|
||||
public String foo(String a) {
|
||||
throw new UnsupportedOperationException();
|
||||
|
||||
+1
-1
@@ -2,5 +2,5 @@ package test
|
||||
|
||||
public open class WrongTypeName2 : java.lang.Object {
|
||||
public constructor WrongTypeName2()
|
||||
public open fun foo(/*0*/ p0: jet.String?): jet.String?
|
||||
public open fun foo(/*0*/ p0: kotlin.String?): kotlin.String?
|
||||
}
|
||||
|
||||
+1
-1
@@ -5,7 +5,7 @@ import jet.runtime.typeinfo.KotlinSignature;
|
||||
import org.jetbrains.jet.jvm.compiler.annotation.ExpectLoadError;
|
||||
|
||||
public class WrongTypeName3 {
|
||||
@ExpectLoadError("Alternative signature type mismatch, expected: List, actual: jet.String")
|
||||
@ExpectLoadError("Alternative signature type mismatch, expected: List, actual: kotlin.String")
|
||||
@KotlinSignature("fun foo(a : String) : List")
|
||||
public String foo(String a) {
|
||||
throw new UnsupportedOperationException();
|
||||
|
||||
+1
-1
@@ -2,5 +2,5 @@ package test
|
||||
|
||||
public open class WrongTypeName3 : java.lang.Object {
|
||||
public constructor WrongTypeName3()
|
||||
public open fun foo(/*0*/ p0: jet.String?): jet.String?
|
||||
public open fun foo(/*0*/ p0: kotlin.String?): kotlin.String?
|
||||
}
|
||||
|
||||
+1
-1
@@ -2,5 +2,5 @@ package test
|
||||
|
||||
public open class WrongTypeParameterBoundStructure1 : java.lang.Object {
|
||||
public constructor WrongTypeParameterBoundStructure1()
|
||||
public open fun </*0*/ A, /*1*/ B : java.lang.Runnable?> foo(/*0*/ p0: A?, /*1*/ p1: jet.List<B>?): jet.Unit where B : jet.List<java.lang.Cloneable>?
|
||||
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<java.lang.Cloneable>?
|
||||
}
|
||||
|
||||
+1
-1
@@ -6,7 +6,7 @@ import jet.runtime.typeinfo.KotlinSignature;
|
||||
import org.jetbrains.jet.jvm.compiler.annotation.ExpectLoadError;
|
||||
|
||||
public class WrongTypeParameterBoundStructure2 {
|
||||
@ExpectLoadError("'jet.List<java.lang.Cloneable>?' type in method signature has 1 type arguments, while 'List' in alternative signature has 0 of them")
|
||||
@ExpectLoadError("'kotlin.List<java.lang.Cloneable>?' type in method signature has 1 type arguments, while 'List' in alternative signature has 0 of them")
|
||||
@KotlinSignature("fun <A, B : Runnable> foo(a : A, b : List<B>) where B : List")
|
||||
public <A, B extends Runnable & List<Cloneable>> void foo(A a, List<? extends B> b) {
|
||||
}
|
||||
|
||||
+1
-1
@@ -2,5 +2,5 @@ package test
|
||||
|
||||
public open class WrongTypeParameterBoundStructure2 : java.lang.Object {
|
||||
public constructor WrongTypeParameterBoundStructure2()
|
||||
public open fun </*0*/ A, /*1*/ B : java.lang.Runnable?> foo(/*0*/ p0: A?, /*1*/ p1: jet.List<B>?): jet.Unit where B : jet.List<java.lang.Cloneable>?
|
||||
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<java.lang.Cloneable>?
|
||||
}
|
||||
|
||||
+1
-1
@@ -2,5 +2,5 @@ package test
|
||||
|
||||
public open class WrongTypeParametersCount : java.lang.Object {
|
||||
public constructor WrongTypeParametersCount()
|
||||
public open fun </*0*/ A, /*1*/ B> foo(/*0*/ p0: A?, /*1*/ p1: jet.List<B>?): jet.Unit
|
||||
public open fun </*0*/ A, /*1*/ B> foo(/*0*/ p0: A?, /*1*/ p1: kotlin.List<B>?): kotlin.Unit
|
||||
}
|
||||
|
||||
+1
-1
@@ -5,7 +5,7 @@ import jet.runtime.typeinfo.KotlinSignature;
|
||||
import org.jetbrains.jet.jvm.compiler.annotation.ExpectLoadError;
|
||||
|
||||
public class WrongValueParameterStructure1 {
|
||||
@ExpectLoadError("'jet.String?' type in method signature has 0 type arguments, while 'String<Int?>' in alternative signature has 1 of them")
|
||||
@ExpectLoadError("'kotlin.String?' type in method signature has 0 type arguments, while 'String<Int?>' in alternative signature has 1 of them")
|
||||
@KotlinSignature("fun foo(a : String<Int?>, b : List<Map.Entry<String?, String>?>) : String")
|
||||
public String foo(String a, List<Map.Entry<String, String>> b) {
|
||||
throw new UnsupportedOperationException();
|
||||
|
||||
+1
-1
@@ -2,5 +2,5 @@ package test
|
||||
|
||||
public open class WrongValueParameterStructure1 : java.lang.Object {
|
||||
public constructor WrongValueParameterStructure1()
|
||||
public open fun foo(/*0*/ p0: jet.String?, /*1*/ p1: jet.List<jet.Map.Entry<jet.String, jet.String>>?): jet.String?
|
||||
public open fun foo(/*0*/ p0: kotlin.String?, /*1*/ p1: kotlin.List<kotlin.Map.Entry<kotlin.String, kotlin.String>>?): kotlin.String?
|
||||
}
|
||||
|
||||
+1
-1
@@ -5,7 +5,7 @@ import jet.runtime.typeinfo.KotlinSignature;
|
||||
import org.jetbrains.jet.jvm.compiler.annotation.ExpectLoadError;
|
||||
|
||||
public class WrongValueParameterStructure2 {
|
||||
@ExpectLoadError("'jet.Map.Entry<jet.String, jet.String>' type in method signature has 2 type arguments, while 'Map.Entry<String?>' in alternative signature has 1 of them")
|
||||
@ExpectLoadError("'kotlin.Map.Entry<kotlin.String, kotlin.String>' type in method signature has 2 type arguments, while 'Map.Entry<String?>' in alternative signature has 1 of them")
|
||||
@KotlinSignature("fun foo(a : String, b : List<Map.Entry<String?>?>) : String")
|
||||
public String foo(String a, List<Map.Entry<String, String>> b) {
|
||||
throw new UnsupportedOperationException();
|
||||
|
||||
+1
-1
@@ -2,5 +2,5 @@ package test
|
||||
|
||||
public open class WrongValueParameterStructure2 : java.lang.Object {
|
||||
public constructor WrongValueParameterStructure2()
|
||||
public open fun foo(/*0*/ p0: jet.String?, /*1*/ p1: jet.List<jet.Map.Entry<jet.String, jet.String>>?): jet.String?
|
||||
public open fun foo(/*0*/ p0: kotlin.String?, /*1*/ p1: kotlin.List<kotlin.Map.Entry<kotlin.String, kotlin.String>>?): kotlin.String?
|
||||
}
|
||||
|
||||
+1
-1
@@ -2,5 +2,5 @@ package test
|
||||
|
||||
public open class WrongValueParametersCount : java.lang.Object {
|
||||
public constructor WrongValueParametersCount()
|
||||
public open fun foo(): jet.Int?
|
||||
public open fun foo(): kotlin.Int?
|
||||
}
|
||||
|
||||
+12
-12
@@ -3,20 +3,20 @@ package test
|
||||
public trait PropagateTypeArgumentNullable : java.lang.Object {
|
||||
|
||||
public trait Sub : test.PropagateTypeArgumentNullable.Super {
|
||||
public abstract override /*1*/ fun invOutR(): jet.MutableList<jet.List<jet.String?>>
|
||||
public abstract override /*1*/ fun invOutS(/*0*/ p0: jet.MutableList<jet.List<jet.String?>>): jet.Unit
|
||||
public abstract override /*1*/ fun invR(): jet.MutableList<jet.String?>
|
||||
public abstract override /*1*/ fun outOutS(/*0*/ p0: jet.List<jet.List<jet.String?>>): jet.Unit
|
||||
public abstract override /*1*/ fun outR(): jet.List<jet.String?>
|
||||
public abstract override /*1*/ fun outS(/*0*/ p0: jet.List<jet.String?>): jet.Unit
|
||||
public abstract override /*1*/ fun invOutR(): kotlin.MutableList<kotlin.List<kotlin.String?>>
|
||||
public abstract override /*1*/ fun invOutS(/*0*/ p0: 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*/ p0: 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*/ p0: kotlin.List<kotlin.String?>): kotlin.Unit
|
||||
}
|
||||
|
||||
public trait Super : java.lang.Object {
|
||||
public abstract fun invOutR(): jet.MutableList<jet.List<jet.String?>>
|
||||
public abstract fun invOutS(/*0*/ p0: jet.MutableList<jet.List<jet.String?>>): jet.Unit
|
||||
public abstract fun invR(): jet.MutableList<jet.String?>
|
||||
public abstract fun outOutS(/*0*/ p0: jet.List<jet.List<jet.String?>>): jet.Unit
|
||||
public abstract fun outR(): jet.List<jet.String?>
|
||||
public abstract fun outS(/*0*/ p0: jet.List<jet.String?>): jet.Unit
|
||||
public abstract fun invOutR(): kotlin.MutableList<kotlin.List<kotlin.String?>>
|
||||
public abstract fun invOutS(/*0*/ p0: kotlin.MutableList<kotlin.List<kotlin.String?>>): kotlin.Unit
|
||||
public abstract fun invR(): kotlin.MutableList<kotlin.String?>
|
||||
public abstract fun outOutS(/*0*/ p0: kotlin.List<kotlin.List<kotlin.String?>>): kotlin.Unit
|
||||
public abstract fun outR(): kotlin.List<kotlin.String?>
|
||||
public abstract fun outS(/*0*/ p0: kotlin.List<kotlin.String?>): kotlin.Unit
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -19,4 +19,4 @@ public interface ChangeProjectionKind1 {
|
||||
@KotlinSignature("fun foo(p: MutableList<String>)")
|
||||
void foo(List<String> p);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -11,4 +11,4 @@ public trait ChangeProjectionKind1: Object {
|
||||
public trait Sub: Super {
|
||||
override fun foo(p0: MutableList<in String>)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+4
-4
@@ -3,12 +3,12 @@ package test
|
||||
public trait ChangeProjectionKind1 : java.lang.Object {
|
||||
|
||||
public trait Sub : test.ChangeProjectionKind1.Super {
|
||||
public abstract override /*1*/ /*fake_override*/ fun dummy(): jet.Unit
|
||||
public abstract override /*1*/ fun foo(/*0*/ p0: jet.MutableList<in jet.String>): jet.Unit
|
||||
public abstract override /*1*/ /*fake_override*/ fun dummy(): kotlin.Unit
|
||||
public abstract override /*1*/ fun foo(/*0*/ p0: kotlin.MutableList<in kotlin.String>): kotlin.Unit
|
||||
}
|
||||
|
||||
public trait Super : java.lang.Object {
|
||||
public abstract fun dummy(): jet.Unit
|
||||
public abstract fun foo(/*0*/ p0: jet.MutableList<in jet.String>): jet.Unit
|
||||
public abstract fun dummy(): kotlin.Unit
|
||||
public abstract fun foo(/*0*/ p0: kotlin.MutableList<in kotlin.String>): kotlin.Unit
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -19,4 +19,4 @@ public interface ChangeProjectionKind2 {
|
||||
@KotlinSignature("fun foo(p: MutableList<in String>)")
|
||||
void foo(List<String> p);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -11,4 +11,4 @@ public trait ChangeProjectionKind2: Object {
|
||||
public trait Sub: Super {
|
||||
override fun foo(p0: MutableList<String>)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+4
-4
@@ -3,12 +3,12 @@ package test
|
||||
public trait ChangeProjectionKind2 : java.lang.Object {
|
||||
|
||||
public trait Sub : test.ChangeProjectionKind2.Super {
|
||||
public abstract override /*1*/ /*fake_override*/ fun dummy(): jet.Unit
|
||||
public abstract override /*1*/ fun foo(/*0*/ p0: jet.MutableList<jet.String>): jet.Unit
|
||||
public abstract override /*1*/ /*fake_override*/ fun dummy(): kotlin.Unit
|
||||
public abstract override /*1*/ fun foo(/*0*/ p0: kotlin.MutableList<kotlin.String>): kotlin.Unit
|
||||
}
|
||||
|
||||
public trait Super : java.lang.Object {
|
||||
public abstract fun dummy(): jet.Unit
|
||||
public abstract fun foo(/*0*/ p0: jet.MutableList<jet.String>): jet.Unit
|
||||
public abstract fun dummy(): kotlin.Unit
|
||||
public abstract fun foo(/*0*/ p0: kotlin.MutableList<kotlin.String>): kotlin.Unit
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -19,4 +19,4 @@ public interface DeeplySubstitutedClassParameter {
|
||||
public interface Sub extends Middle<String> {
|
||||
void foo(String p);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -15,4 +15,4 @@ public trait DeeplySubstitutedClassParameter: Object {
|
||||
public trait Sub: Middle<String> {
|
||||
override fun foo(p0: String)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+7
-7
@@ -3,17 +3,17 @@ package test
|
||||
public trait DeeplySubstitutedClassParameter : java.lang.Object {
|
||||
|
||||
public trait Middle</*0*/ E> : test.DeeplySubstitutedClassParameter.Super<E> {
|
||||
public abstract override /*1*/ /*fake_override*/ fun dummy(): jet.Unit
|
||||
public abstract override /*1*/ fun foo(/*0*/ p0: E): jet.Unit
|
||||
public abstract override /*1*/ /*fake_override*/ fun dummy(): kotlin.Unit
|
||||
public abstract override /*1*/ fun foo(/*0*/ p0: E): kotlin.Unit
|
||||
}
|
||||
|
||||
public trait Sub : test.DeeplySubstitutedClassParameter.Middle<jet.String> {
|
||||
public abstract override /*1*/ /*fake_override*/ fun dummy(): jet.Unit
|
||||
public abstract override /*1*/ fun foo(/*0*/ p0: jet.String): jet.Unit
|
||||
public trait Sub : test.DeeplySubstitutedClassParameter.Middle<kotlin.String> {
|
||||
public abstract override /*1*/ /*fake_override*/ fun dummy(): kotlin.Unit
|
||||
public abstract override /*1*/ fun foo(/*0*/ p0: kotlin.String): kotlin.Unit
|
||||
}
|
||||
|
||||
public trait Super</*0*/ T> : java.lang.Object {
|
||||
public abstract fun dummy(): jet.Unit
|
||||
public abstract fun foo(/*0*/ p0: T): jet.Unit
|
||||
public abstract fun dummy(): kotlin.Unit
|
||||
public abstract fun foo(/*0*/ p0: T): kotlin.Unit
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -18,4 +18,4 @@ public interface DeeplySubstitutedClassParameter2 {
|
||||
public interface Sub extends Middle<String> {
|
||||
void foo(String p);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -14,4 +14,4 @@ public trait DeeplySubstitutedClassParameter2: Object {
|
||||
public trait Sub: Middle<String> {
|
||||
override fun foo(p0: String)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+7
-7
@@ -3,17 +3,17 @@ package test
|
||||
public trait DeeplySubstitutedClassParameter2 : java.lang.Object {
|
||||
|
||||
public trait Middle</*0*/ E> : test.DeeplySubstitutedClassParameter2.Super<E> {
|
||||
public abstract override /*1*/ /*fake_override*/ fun dummy(): jet.Unit
|
||||
public abstract override /*1*/ /*fake_override*/ fun foo(/*0*/ p0: E): jet.Unit
|
||||
public abstract override /*1*/ /*fake_override*/ fun dummy(): kotlin.Unit
|
||||
public abstract override /*1*/ /*fake_override*/ fun foo(/*0*/ p0: E): kotlin.Unit
|
||||
}
|
||||
|
||||
public trait Sub : test.DeeplySubstitutedClassParameter2.Middle<jet.String> {
|
||||
public abstract override /*1*/ /*fake_override*/ fun dummy(): jet.Unit
|
||||
public abstract override /*1*/ fun foo(/*0*/ p0: jet.String): jet.Unit
|
||||
public trait Sub : test.DeeplySubstitutedClassParameter2.Middle<kotlin.String> {
|
||||
public abstract override /*1*/ /*fake_override*/ fun dummy(): kotlin.Unit
|
||||
public abstract override /*1*/ fun foo(/*0*/ p0: kotlin.String): kotlin.Unit
|
||||
}
|
||||
|
||||
public trait Super</*0*/ T> : java.lang.Object {
|
||||
public abstract fun dummy(): jet.Unit
|
||||
public abstract fun foo(/*0*/ p0: T): jet.Unit
|
||||
public abstract fun dummy(): kotlin.Unit
|
||||
public abstract fun foo(/*0*/ p0: T): kotlin.Unit
|
||||
}
|
||||
}
|
||||
|
||||
+4
-4
@@ -3,12 +3,12 @@ package test
|
||||
public trait InheritMutability : java.lang.Object {
|
||||
|
||||
public trait Sub : test.InheritMutability.Super {
|
||||
public abstract override /*1*/ /*fake_override*/ fun dummy(): jet.Unit
|
||||
public abstract override /*1*/ fun foo(/*0*/ p0: jet.MutableList<jet.String>): jet.Unit
|
||||
public abstract override /*1*/ /*fake_override*/ fun dummy(): kotlin.Unit
|
||||
public abstract override /*1*/ fun foo(/*0*/ p0: kotlin.MutableList<kotlin.String>): kotlin.Unit
|
||||
}
|
||||
|
||||
public trait Super : java.lang.Object {
|
||||
public abstract fun dummy(): jet.Unit
|
||||
public abstract fun foo(/*0*/ p0: jet.MutableList<jet.String>): jet.Unit
|
||||
public abstract fun dummy(): kotlin.Unit
|
||||
public abstract fun foo(/*0*/ p0: kotlin.MutableList<kotlin.String>): kotlin.Unit
|
||||
}
|
||||
}
|
||||
|
||||
+4
-4
@@ -3,12 +3,12 @@ package test
|
||||
public trait InheritNotVararg : java.lang.Object {
|
||||
|
||||
public trait Sub : test.InheritNotVararg.Super {
|
||||
public abstract override /*1*/ /*fake_override*/ fun dummy(): jet.Unit
|
||||
public abstract override /*1*/ fun foo(/*0*/ p0: jet.Array<out jet.String>?): jet.Unit
|
||||
public abstract override /*1*/ /*fake_override*/ fun dummy(): kotlin.Unit
|
||||
public abstract override /*1*/ fun foo(/*0*/ p0: kotlin.Array<out kotlin.String>?): kotlin.Unit
|
||||
}
|
||||
|
||||
public trait Super : java.lang.Object {
|
||||
public abstract fun dummy(): jet.Unit
|
||||
public abstract fun foo(/*0*/ p0: jet.Array<out jet.String>?): jet.Unit
|
||||
public abstract fun dummy(): kotlin.Unit
|
||||
public abstract fun foo(/*0*/ p0: kotlin.Array<out kotlin.String>?): kotlin.Unit
|
||||
}
|
||||
}
|
||||
|
||||
+4
-4
@@ -3,12 +3,12 @@ package test
|
||||
public trait InheritNotVarargInteger : java.lang.Object {
|
||||
|
||||
public trait Sub : test.InheritNotVarargInteger.Super {
|
||||
public abstract override /*1*/ /*fake_override*/ fun dummy(): jet.Unit
|
||||
public abstract override /*1*/ fun foo(/*0*/ p0: jet.Array<out jet.Int>?): jet.Unit
|
||||
public abstract override /*1*/ /*fake_override*/ fun dummy(): kotlin.Unit
|
||||
public abstract override /*1*/ fun foo(/*0*/ p0: kotlin.Array<out kotlin.Int>?): kotlin.Unit
|
||||
}
|
||||
|
||||
public trait Super : java.lang.Object {
|
||||
public abstract fun dummy(): jet.Unit
|
||||
public abstract fun foo(/*0*/ p0: jet.Array<out jet.Int>?): jet.Unit
|
||||
public abstract fun dummy(): kotlin.Unit
|
||||
public abstract fun foo(/*0*/ p0: kotlin.Array<out kotlin.Int>?): kotlin.Unit
|
||||
}
|
||||
}
|
||||
|
||||
+4
-4
@@ -3,12 +3,12 @@ package test
|
||||
public trait InheritNotVarargNotNull : java.lang.Object {
|
||||
|
||||
public trait Sub : test.InheritNotVarargNotNull.Super {
|
||||
public abstract override /*1*/ /*fake_override*/ fun dummy(): jet.Unit
|
||||
public abstract override /*1*/ fun foo(/*0*/ p0: jet.Array<out jet.String>): jet.Unit
|
||||
public abstract override /*1*/ /*fake_override*/ fun dummy(): kotlin.Unit
|
||||
public abstract override /*1*/ fun foo(/*0*/ p0: kotlin.Array<out kotlin.String>): kotlin.Unit
|
||||
}
|
||||
|
||||
public trait Super : java.lang.Object {
|
||||
public abstract fun dummy(): jet.Unit
|
||||
public abstract fun foo(/*0*/ p0: jet.Array<out jet.String>): jet.Unit
|
||||
public abstract fun dummy(): kotlin.Unit
|
||||
public abstract fun foo(/*0*/ p0: kotlin.Array<out kotlin.String>): kotlin.Unit
|
||||
}
|
||||
}
|
||||
|
||||
+4
-4
@@ -3,12 +3,12 @@ package test
|
||||
public trait InheritNotVarargPrimitive : java.lang.Object {
|
||||
|
||||
public trait Sub : test.InheritNotVarargPrimitive.Super {
|
||||
public abstract override /*1*/ /*fake_override*/ fun dummy(): jet.Unit
|
||||
public abstract override /*1*/ fun foo(/*0*/ p0: jet.IntArray?): jet.Unit
|
||||
public abstract override /*1*/ /*fake_override*/ fun dummy(): kotlin.Unit
|
||||
public abstract override /*1*/ fun foo(/*0*/ p0: kotlin.IntArray?): kotlin.Unit
|
||||
}
|
||||
|
||||
public trait Super : java.lang.Object {
|
||||
public abstract fun dummy(): jet.Unit
|
||||
public abstract fun foo(/*0*/ p0: jet.IntArray?): jet.Unit
|
||||
public abstract fun dummy(): kotlin.Unit
|
||||
public abstract fun foo(/*0*/ p0: kotlin.IntArray?): kotlin.Unit
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -13,4 +13,4 @@ public interface InheritNullability {
|
||||
public interface Sub extends Super {
|
||||
void foo(String p);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -11,4 +11,4 @@ public trait InheritNullability: Object {
|
||||
public trait Sub: Super {
|
||||
override fun foo(p0: String)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+4
-4
@@ -3,12 +3,12 @@ package test
|
||||
public trait InheritNullability : java.lang.Object {
|
||||
|
||||
public trait Sub : test.InheritNullability.Super {
|
||||
public abstract override /*1*/ /*fake_override*/ fun dummy(): jet.Unit
|
||||
public abstract override /*1*/ fun foo(/*0*/ p0: jet.String): jet.Unit
|
||||
public abstract override /*1*/ /*fake_override*/ fun dummy(): kotlin.Unit
|
||||
public abstract override /*1*/ fun foo(/*0*/ p0: kotlin.String): kotlin.Unit
|
||||
}
|
||||
|
||||
public trait Super : java.lang.Object {
|
||||
public abstract fun dummy(): jet.Unit
|
||||
public abstract fun foo(/*0*/ p0: jet.String): jet.Unit
|
||||
public abstract fun dummy(): kotlin.Unit
|
||||
public abstract fun foo(/*0*/ p0: kotlin.String): kotlin.Unit
|
||||
}
|
||||
}
|
||||
|
||||
+4
-4
@@ -3,12 +3,12 @@ package test
|
||||
public trait InheritProjectionKind : java.lang.Object {
|
||||
|
||||
public trait Sub : test.InheritProjectionKind.Super {
|
||||
public abstract override /*1*/ /*fake_override*/ fun dummy(): jet.Unit
|
||||
public abstract override /*1*/ fun foo(/*0*/ p0: jet.MutableList<in jet.String>): jet.Unit
|
||||
public abstract override /*1*/ /*fake_override*/ fun dummy(): kotlin.Unit
|
||||
public abstract override /*1*/ fun foo(/*0*/ p0: kotlin.MutableList<in kotlin.String>): kotlin.Unit
|
||||
}
|
||||
|
||||
public trait Super : java.lang.Object {
|
||||
public abstract fun dummy(): jet.Unit
|
||||
public abstract fun foo(/*0*/ p0: jet.MutableList<in jet.String>): jet.Unit
|
||||
public abstract fun dummy(): kotlin.Unit
|
||||
public abstract fun foo(/*0*/ p0: kotlin.MutableList<in kotlin.String>): kotlin.Unit
|
||||
}
|
||||
}
|
||||
|
||||
+4
-4
@@ -3,12 +3,12 @@ package test
|
||||
public trait InheritReadOnliness : java.lang.Object {
|
||||
|
||||
public trait Sub : test.InheritReadOnliness.Super {
|
||||
public abstract override /*1*/ /*fake_override*/ fun dummy(): jet.Unit
|
||||
public abstract override /*1*/ fun foo(/*0*/ p0: jet.List<jet.String>): jet.Unit
|
||||
public abstract override /*1*/ /*fake_override*/ fun dummy(): kotlin.Unit
|
||||
public abstract override /*1*/ fun foo(/*0*/ p0: kotlin.List<kotlin.String>): kotlin.Unit
|
||||
}
|
||||
|
||||
public trait Super : java.lang.Object {
|
||||
public abstract fun dummy(): jet.Unit
|
||||
public abstract fun foo(/*0*/ p0: jet.List<jet.String>): jet.Unit
|
||||
public abstract fun dummy(): kotlin.Unit
|
||||
public abstract fun foo(/*0*/ p0: kotlin.List<kotlin.String>): kotlin.Unit
|
||||
}
|
||||
}
|
||||
|
||||
+4
-4
@@ -3,12 +3,12 @@ package test
|
||||
public trait InheritVararg : java.lang.Object {
|
||||
|
||||
public trait Sub : test.InheritVararg.Super {
|
||||
public abstract override /*1*/ /*fake_override*/ fun dummy(): jet.Unit
|
||||
public abstract override /*1*/ fun foo(/*0*/ vararg p0: jet.String? /*jet.Array<jet.String?>*/): jet.Unit
|
||||
public abstract override /*1*/ /*fake_override*/ fun dummy(): kotlin.Unit
|
||||
public abstract override /*1*/ fun foo(/*0*/ vararg p0: kotlin.String? /*kotlin.Array<kotlin.String?>*/): kotlin.Unit
|
||||
}
|
||||
|
||||
public trait Super : java.lang.Object {
|
||||
public abstract fun dummy(): jet.Unit
|
||||
public abstract fun foo(/*0*/ vararg p0: jet.String? /*jet.Array<jet.String?>*/): jet.Unit
|
||||
public abstract fun dummy(): kotlin.Unit
|
||||
public abstract fun foo(/*0*/ vararg p0: kotlin.String? /*kotlin.Array<kotlin.String?>*/): kotlin.Unit
|
||||
}
|
||||
}
|
||||
|
||||
+4
-4
@@ -3,12 +3,12 @@ package test
|
||||
public trait InheritVarargInteger : java.lang.Object {
|
||||
|
||||
public trait Sub : test.InheritVarargInteger.Super {
|
||||
public abstract override /*1*/ /*fake_override*/ fun dummy(): jet.Unit
|
||||
public abstract override /*1*/ fun foo(/*0*/ vararg p0: jet.Int? /*jet.Array<jet.Int?>*/): jet.Unit
|
||||
public abstract override /*1*/ /*fake_override*/ fun dummy(): kotlin.Unit
|
||||
public abstract override /*1*/ fun foo(/*0*/ vararg p0: kotlin.Int? /*kotlin.Array<kotlin.Int?>*/): kotlin.Unit
|
||||
}
|
||||
|
||||
public trait Super : java.lang.Object {
|
||||
public abstract fun dummy(): jet.Unit
|
||||
public abstract fun foo(/*0*/ vararg p0: jet.Int? /*jet.Array<jet.Int?>*/): jet.Unit
|
||||
public abstract fun dummy(): kotlin.Unit
|
||||
public abstract fun foo(/*0*/ vararg p0: kotlin.Int? /*kotlin.Array<kotlin.Int?>*/): kotlin.Unit
|
||||
}
|
||||
}
|
||||
|
||||
+4
-4
@@ -3,12 +3,12 @@ package test
|
||||
public trait InheritVarargNotNull : java.lang.Object {
|
||||
|
||||
public trait Sub : test.InheritVarargNotNull.Super {
|
||||
public abstract override /*1*/ /*fake_override*/ fun dummy(): jet.Unit
|
||||
public abstract override /*1*/ fun foo(/*0*/ vararg p0: jet.String /*jet.Array<jet.String>*/): jet.Unit
|
||||
public abstract override /*1*/ /*fake_override*/ fun dummy(): kotlin.Unit
|
||||
public abstract override /*1*/ fun foo(/*0*/ vararg p0: kotlin.String /*kotlin.Array<kotlin.String>*/): kotlin.Unit
|
||||
}
|
||||
|
||||
public trait Super : java.lang.Object {
|
||||
public abstract fun dummy(): jet.Unit
|
||||
public abstract fun foo(/*0*/ vararg p0: jet.String /*jet.Array<jet.String>*/): jet.Unit
|
||||
public abstract fun dummy(): kotlin.Unit
|
||||
public abstract fun foo(/*0*/ vararg p0: kotlin.String /*kotlin.Array<kotlin.String>*/): kotlin.Unit
|
||||
}
|
||||
}
|
||||
|
||||
+4
-4
@@ -3,12 +3,12 @@ package test
|
||||
public trait InheritVarargPrimitive : java.lang.Object {
|
||||
|
||||
public trait Sub : test.InheritVarargPrimitive.Super {
|
||||
public abstract override /*1*/ /*fake_override*/ fun dummy(): jet.Unit
|
||||
public abstract override /*1*/ fun foo(/*0*/ vararg p0: jet.Int /*jet.IntArray*/): jet.Unit
|
||||
public abstract override /*1*/ /*fake_override*/ fun dummy(): kotlin.Unit
|
||||
public abstract override /*1*/ fun foo(/*0*/ vararg p0: kotlin.Int /*kotlin.IntArray*/): kotlin.Unit
|
||||
}
|
||||
|
||||
public trait Super : java.lang.Object {
|
||||
public abstract fun dummy(): jet.Unit
|
||||
public abstract fun foo(/*0*/ vararg p0: jet.Int /*jet.IntArray*/): jet.Unit
|
||||
public abstract fun dummy(): kotlin.Unit
|
||||
public abstract fun foo(/*0*/ vararg p0: kotlin.Int /*kotlin.IntArray*/): kotlin.Unit
|
||||
}
|
||||
}
|
||||
|
||||
+6
-6
@@ -3,17 +3,17 @@ package test
|
||||
public trait Kt3302 : java.lang.Object {
|
||||
|
||||
public trait BSONObject : java.lang.Object {
|
||||
public abstract fun dummy(): jet.Unit
|
||||
public abstract fun put(/*0*/ p0: jet.String, /*1*/ p1: jet.Any): jet.Any?
|
||||
public abstract fun dummy(): kotlin.Unit
|
||||
public abstract fun put(/*0*/ p0: kotlin.String, /*1*/ p1: kotlin.Any): kotlin.Any?
|
||||
}
|
||||
|
||||
public trait BasicBSONObject : test.Kt3302.LinkedHashMap<jet.String, jet.Any>, test.Kt3302.BSONObject {
|
||||
public abstract override /*2*/ /*fake_override*/ fun dummy(): jet.Unit
|
||||
public abstract override /*2*/ fun put(/*0*/ p0: jet.String, /*1*/ p1: jet.Any): jet.Any?
|
||||
public trait BasicBSONObject : test.Kt3302.LinkedHashMap<kotlin.String, kotlin.Any>, test.Kt3302.BSONObject {
|
||||
public abstract override /*2*/ /*fake_override*/ fun dummy(): kotlin.Unit
|
||||
public abstract override /*2*/ fun put(/*0*/ p0: kotlin.String, /*1*/ p1: kotlin.Any): kotlin.Any?
|
||||
}
|
||||
|
||||
public trait LinkedHashMap</*0*/ K, /*1*/ V> : java.lang.Object {
|
||||
public abstract fun dummy(): jet.Unit
|
||||
public abstract fun dummy(): kotlin.Unit
|
||||
public abstract fun put(/*0*/ p0: K, /*1*/ p1: V): V?
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -19,4 +19,4 @@ public interface MutableToReadOnly {
|
||||
@KotlinSignature("fun foo(p: List<String>)")
|
||||
void foo(List<String> p);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -11,4 +11,4 @@ public trait MutableToReadOnly: Object {
|
||||
public trait Sub: Super {
|
||||
override fun foo(p0: MutableList<String>)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+4
-4
@@ -3,12 +3,12 @@ package test
|
||||
public trait MutableToReadOnly : java.lang.Object {
|
||||
|
||||
public trait Sub : test.MutableToReadOnly.Super {
|
||||
public abstract override /*1*/ /*fake_override*/ fun dummy(): jet.Unit
|
||||
public abstract override /*1*/ fun foo(/*0*/ p0: jet.MutableList<jet.String>): jet.Unit
|
||||
public abstract override /*1*/ /*fake_override*/ fun dummy(): kotlin.Unit
|
||||
public abstract override /*1*/ fun foo(/*0*/ p0: kotlin.MutableList<kotlin.String>): kotlin.Unit
|
||||
}
|
||||
|
||||
public trait Super : java.lang.Object {
|
||||
public abstract fun dummy(): jet.Unit
|
||||
public abstract fun foo(/*0*/ p0: jet.MutableList<jet.String>): jet.Unit
|
||||
public abstract fun dummy(): kotlin.Unit
|
||||
public abstract fun foo(/*0*/ p0: kotlin.MutableList<kotlin.String>): kotlin.Unit
|
||||
}
|
||||
}
|
||||
|
||||
+2
-2
@@ -13,8 +13,8 @@ public interface NotNullToNullable {
|
||||
}
|
||||
|
||||
public interface Sub extends Super {
|
||||
@ExpectLoadError("Auto type 'jet.String' is not-null, while type in alternative signature is nullable: 'String?'")
|
||||
@ExpectLoadError("Auto type 'kotlin.String' is not-null, while type in alternative signature is nullable: 'String?'")
|
||||
@KotlinSignature("fun foo(p: String?)")
|
||||
void foo(String p);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -11,4 +11,4 @@ public trait NotNullToNullable: Object {
|
||||
public trait Sub: Super {
|
||||
override fun foo(p0: String)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+4
-4
@@ -3,12 +3,12 @@ package test
|
||||
public trait NotNullToNullable : java.lang.Object {
|
||||
|
||||
public trait Sub : test.NotNullToNullable.Super {
|
||||
public abstract override /*1*/ /*fake_override*/ fun dummy(): jet.Unit
|
||||
public abstract override /*1*/ fun foo(/*0*/ p0: jet.String): jet.Unit
|
||||
public abstract override /*1*/ /*fake_override*/ fun dummy(): kotlin.Unit
|
||||
public abstract override /*1*/ fun foo(/*0*/ p0: kotlin.String): kotlin.Unit
|
||||
}
|
||||
|
||||
public trait Super : java.lang.Object {
|
||||
public abstract fun dummy(): jet.Unit
|
||||
public abstract fun foo(/*0*/ p0: jet.String): jet.Unit
|
||||
public abstract fun dummy(): kotlin.Unit
|
||||
public abstract fun foo(/*0*/ p0: kotlin.String): kotlin.Unit
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -16,4 +16,4 @@ public interface NullableToNotNull {
|
||||
@ExpectLoadError("In superclass type is nullable: [String?], in subclass it is not: String")
|
||||
void foo(@NotNull String p);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -11,4 +11,4 @@ public trait NullableToNotNull: Object {
|
||||
public trait Sub: Super {
|
||||
override fun foo(p0: String?)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+4
-4
@@ -3,12 +3,12 @@ package test
|
||||
public trait NullableToNotNull : java.lang.Object {
|
||||
|
||||
public trait Sub : test.NullableToNotNull.Super {
|
||||
public abstract override /*1*/ /*fake_override*/ fun dummy(): jet.Unit
|
||||
public abstract override /*1*/ fun foo(/*0*/ p0: jet.String?): jet.Unit
|
||||
public abstract override /*1*/ /*fake_override*/ fun dummy(): kotlin.Unit
|
||||
public abstract override /*1*/ fun foo(/*0*/ p0: kotlin.String?): kotlin.Unit
|
||||
}
|
||||
|
||||
public trait Super : java.lang.Object {
|
||||
public abstract fun dummy(): jet.Unit
|
||||
public abstract fun foo(/*0*/ p0: jet.String?): jet.Unit
|
||||
public abstract fun dummy(): kotlin.Unit
|
||||
public abstract fun foo(/*0*/ p0: kotlin.String?): kotlin.Unit
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -18,4 +18,4 @@ public interface NullableToNotNullKotlinSignature {
|
||||
@KotlinSignature("fun foo(p: String)")
|
||||
void foo(String p);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -11,4 +11,4 @@ public trait NullableToNotNullKotlinSignature: Object {
|
||||
public trait Sub: Super {
|
||||
override fun foo(p0: String?)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+4
-4
@@ -3,12 +3,12 @@ package test
|
||||
public trait NullableToNotNullKotlinSignature : java.lang.Object {
|
||||
|
||||
public trait Sub : test.NullableToNotNullKotlinSignature.Super {
|
||||
public abstract override /*1*/ /*fake_override*/ fun dummy(): jet.Unit
|
||||
public abstract override /*1*/ fun foo(/*0*/ p0: jet.String?): jet.Unit
|
||||
public abstract override /*1*/ /*fake_override*/ fun dummy(): kotlin.Unit
|
||||
public abstract override /*1*/ fun foo(/*0*/ p0: kotlin.String?): kotlin.Unit
|
||||
}
|
||||
|
||||
public trait Super : java.lang.Object {
|
||||
public abstract fun dummy(): jet.Unit
|
||||
public abstract fun foo(/*0*/ p0: jet.String?): jet.Unit
|
||||
public abstract fun dummy(): kotlin.Unit
|
||||
public abstract fun foo(/*0*/ p0: kotlin.String?): kotlin.Unit
|
||||
}
|
||||
}
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user