Replace "jet" package name with "kotlin" in testData
This commit is contained in:
+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?
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user