Rename jet -> kotlin in compiler-tests (except resolve)
Move test-related code to org.jetbrains.kotlin.test, also move some tests to packages with better names
This commit is contained in:
+1
-1
@@ -1,7 +1,7 @@
|
||||
package test;
|
||||
|
||||
import jet.runtime.typeinfo.KotlinSignature;
|
||||
import org.jetbrains.jet.jvm.compiler.annotation.ExpectLoadError;
|
||||
import org.jetbrains.kotlin.jvm.compiler.annotation.ExpectLoadError;
|
||||
|
||||
public class AddingNullability {
|
||||
@ExpectLoadError("Auto type 'kotlin.Int' is not-null, while type in alternative signature is nullable: 'Int?'")
|
||||
|
||||
+1
-1
@@ -4,7 +4,7 @@ import java.lang.Number;
|
||||
import java.util.*;
|
||||
|
||||
import jet.runtime.typeinfo.KotlinSignature;
|
||||
import org.jetbrains.jet.jvm.compiler.annotation.ExpectLoadError;
|
||||
import org.jetbrains.kotlin.jvm.compiler.annotation.ExpectLoadError;
|
||||
|
||||
public class ConflictingProjectionKind {
|
||||
@ExpectLoadError("Projection kind 'in' is conflicting with variance of kotlin.List")
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
package test;
|
||||
|
||||
import jet.runtime.typeinfo.KotlinSignature;
|
||||
import org.jetbrains.jet.jvm.compiler.annotation.ExpectLoadError;
|
||||
import org.jetbrains.kotlin.jvm.compiler.annotation.ExpectLoadError;
|
||||
|
||||
public class ExplicitFieldGettersAndSetters {
|
||||
@ExpectLoadError("Field annotation for shouldn't have getters and setters")
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
package test;
|
||||
|
||||
import jet.runtime.typeinfo.KotlinSignature;
|
||||
import org.jetbrains.jet.jvm.compiler.annotation.ExpectLoadError;
|
||||
import org.jetbrains.kotlin.jvm.compiler.annotation.ExpectLoadError;
|
||||
|
||||
public class ExtraUpperBound {
|
||||
@ExpectLoadError("Upper bound number mismatch for A. Expected 1, but found 2")
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
package test;
|
||||
|
||||
import jet.runtime.typeinfo.KotlinSignature;
|
||||
import org.jetbrains.jet.jvm.compiler.annotation.ExpectLoadError;
|
||||
import org.jetbrains.kotlin.jvm.compiler.annotation.ExpectLoadError;
|
||||
|
||||
public class MissingUpperBound {
|
||||
@ExpectLoadError("Upper bound number mismatch for A. Expected 2, but found 1")
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
package test;
|
||||
|
||||
import jet.runtime.typeinfo.KotlinSignature;
|
||||
import org.jetbrains.jet.jvm.compiler.annotation.ExpectLoadError;
|
||||
import org.jetbrains.kotlin.jvm.compiler.annotation.ExpectLoadError;
|
||||
|
||||
public class NoFieldTypeRef {
|
||||
@ExpectLoadError("Field annotation for shouldn't have type reference")
|
||||
|
||||
+1
-1
@@ -3,7 +3,7 @@ package test;
|
||||
import java.util.*;
|
||||
|
||||
import jet.runtime.typeinfo.KotlinSignature;
|
||||
import org.jetbrains.jet.jvm.compiler.annotation.ExpectLoadError;
|
||||
import org.jetbrains.kotlin.jvm.compiler.annotation.ExpectLoadError;
|
||||
|
||||
public class NotVarargReplacedWithVararg {
|
||||
@ExpectLoadError("Parameter in method signature is not vararg, but in alternative signature it is vararg")
|
||||
|
||||
+1
-1
@@ -4,7 +4,7 @@ import java.lang.Number;
|
||||
import java.util.*;
|
||||
|
||||
import jet.runtime.typeinfo.KotlinSignature;
|
||||
import org.jetbrains.jet.jvm.compiler.annotation.ExpectLoadError;
|
||||
import org.jetbrains.kotlin.jvm.compiler.annotation.ExpectLoadError;
|
||||
|
||||
public class RedundantProjectionKind {
|
||||
@KotlinSignature("fun foo(list: List<out Number>)")
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
package test;
|
||||
|
||||
import jet.runtime.typeinfo.KotlinSignature;
|
||||
import org.jetbrains.jet.jvm.compiler.annotation.ExpectLoadError;
|
||||
import org.jetbrains.kotlin.jvm.compiler.annotation.ExpectLoadError;
|
||||
|
||||
public class ReturnTypeMissing {
|
||||
@ExpectLoadError("Return type in alternative signature is missing, while in real signature it is 'kotlin.Int'")
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
package test;
|
||||
|
||||
import jet.runtime.typeinfo.KotlinSignature;
|
||||
import org.jetbrains.jet.jvm.compiler.annotation.ExpectLoadError;
|
||||
import org.jetbrains.kotlin.jvm.compiler.annotation.ExpectLoadError;
|
||||
|
||||
public class SyntaxError {
|
||||
@ExpectLoadError("Alternative signature has 2 syntax errors, first is at 8: Expecting a parameter declaration")
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
package test;
|
||||
|
||||
import jet.runtime.typeinfo.KotlinSignature;
|
||||
import org.jetbrains.jet.jvm.compiler.annotation.ExpectLoadError;
|
||||
import org.jetbrains.kotlin.jvm.compiler.annotation.ExpectLoadError;
|
||||
|
||||
public class SyntaxErrorInFieldAnnotation {
|
||||
@ExpectLoadError("Alternative signature has syntax error at 10: Type expected")
|
||||
|
||||
+1
-1
@@ -3,7 +3,7 @@ package test;
|
||||
import java.util.*;
|
||||
|
||||
import jet.runtime.typeinfo.KotlinSignature;
|
||||
import org.jetbrains.jet.jvm.compiler.annotation.ExpectLoadError;
|
||||
import org.jetbrains.kotlin.jvm.compiler.annotation.ExpectLoadError;
|
||||
|
||||
public class VarargReplacedWithNotVararg {
|
||||
@ExpectLoadError("Parameter in method signature is vararg, but in alternative signature it is not")
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
package test;
|
||||
|
||||
import jet.runtime.typeinfo.KotlinSignature;
|
||||
import org.jetbrains.jet.jvm.compiler.annotation.ExpectLoadError;
|
||||
import org.jetbrains.kotlin.jvm.compiler.annotation.ExpectLoadError;
|
||||
|
||||
public class WrongFieldInitializer {
|
||||
@ExpectLoadError("Default value is not expected in annotation for field")
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
package test;
|
||||
|
||||
import jet.runtime.typeinfo.KotlinSignature;
|
||||
import org.jetbrains.jet.jvm.compiler.annotation.ExpectLoadError;
|
||||
import org.jetbrains.kotlin.jvm.compiler.annotation.ExpectLoadError;
|
||||
|
||||
public class WrongFieldMutability {
|
||||
@ExpectLoadError("Wrong mutability in annotation for field")
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
package test;
|
||||
|
||||
import jet.runtime.typeinfo.KotlinSignature;
|
||||
import org.jetbrains.jet.jvm.compiler.annotation.ExpectLoadError;
|
||||
import org.jetbrains.kotlin.jvm.compiler.annotation.ExpectLoadError;
|
||||
|
||||
public class WrongFieldName {
|
||||
@ExpectLoadError("Field name mismatch, original: foo, alternative: bar")
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
package test;
|
||||
|
||||
import jet.runtime.typeinfo.KotlinSignature;
|
||||
import org.jetbrains.jet.jvm.compiler.annotation.ExpectLoadError;
|
||||
import org.jetbrains.kotlin.jvm.compiler.annotation.ExpectLoadError;
|
||||
|
||||
public class WrongMethodName {
|
||||
@ExpectLoadError("Function names mismatch, original: foo, alternative: bar")
|
||||
|
||||
+1
-1
@@ -4,7 +4,7 @@ import java.lang.Number;
|
||||
import java.util.*;
|
||||
|
||||
import jet.runtime.typeinfo.KotlinSignature;
|
||||
import org.jetbrains.jet.jvm.compiler.annotation.ExpectLoadError;
|
||||
import org.jetbrains.kotlin.jvm.compiler.annotation.ExpectLoadError;
|
||||
|
||||
public class WrongProjectionKind {
|
||||
//@ExpectLoadError("Projection kind mismatch, actual: out, in alternative signature: ")
|
||||
|
||||
+1
-1
@@ -2,7 +2,7 @@ package test;
|
||||
|
||||
import java.util.*;
|
||||
import jet.runtime.typeinfo.KotlinSignature;
|
||||
import org.jetbrains.jet.jvm.compiler.annotation.ExpectLoadError;
|
||||
import org.jetbrains.kotlin.jvm.compiler.annotation.ExpectLoadError;
|
||||
|
||||
public class WrongReturnTypeStructure {
|
||||
//@ExpectLoadError("'kotlin.String?' type in method signature has 0 type arguments, while 'String<Int>' in alternative signature has 1 of them")
|
||||
|
||||
@@ -2,7 +2,7 @@ package test;
|
||||
|
||||
import java.util.*;
|
||||
import jet.runtime.typeinfo.KotlinSignature;
|
||||
import org.jetbrains.jet.jvm.compiler.annotation.ExpectLoadError;
|
||||
import org.jetbrains.kotlin.jvm.compiler.annotation.ExpectLoadError;
|
||||
|
||||
public class WrongTypeName1 {
|
||||
@ExpectLoadError("Alternative signature type mismatch, expected: Unit, actual: kotlin.String")
|
||||
|
||||
@@ -2,7 +2,7 @@ package test;
|
||||
|
||||
import java.util.*;
|
||||
import jet.runtime.typeinfo.KotlinSignature;
|
||||
import org.jetbrains.jet.jvm.compiler.annotation.ExpectLoadError;
|
||||
import org.jetbrains.kotlin.jvm.compiler.annotation.ExpectLoadError;
|
||||
|
||||
public class WrongTypeName2 {
|
||||
@ExpectLoadError("Alternative signature type mismatch, expected: Something.String, actual: kotlin.String")
|
||||
|
||||
@@ -2,7 +2,7 @@ package test;
|
||||
|
||||
import java.util.*;
|
||||
import jet.runtime.typeinfo.KotlinSignature;
|
||||
import org.jetbrains.jet.jvm.compiler.annotation.ExpectLoadError;
|
||||
import org.jetbrains.kotlin.jvm.compiler.annotation.ExpectLoadError;
|
||||
|
||||
public class WrongTypeName3 {
|
||||
@ExpectLoadError("Alternative signature type mismatch, expected: List, actual: kotlin.String")
|
||||
|
||||
+1
-1
@@ -3,7 +3,7 @@ package test;
|
||||
import java.util.*;
|
||||
|
||||
import jet.runtime.typeinfo.KotlinSignature;
|
||||
import org.jetbrains.jet.jvm.compiler.annotation.ExpectLoadError;
|
||||
import org.jetbrains.kotlin.jvm.compiler.annotation.ExpectLoadError;
|
||||
|
||||
public class WrongTypeParameterBoundStructure1 {
|
||||
//@ExpectLoadError("'java.lang.Runnable?' type in method signature has 0 type arguments, while 'Runnable<Int>' in alternative signature has 1 of them")
|
||||
|
||||
+1
-1
@@ -3,7 +3,7 @@ package test;
|
||||
import java.util.*;
|
||||
|
||||
import jet.runtime.typeinfo.KotlinSignature;
|
||||
import org.jetbrains.jet.jvm.compiler.annotation.ExpectLoadError;
|
||||
import org.jetbrains.kotlin.jvm.compiler.annotation.ExpectLoadError;
|
||||
|
||||
public class WrongTypeParameterBoundStructure2 {
|
||||
//@ExpectLoadError("'kotlin.List<kotlin.Cloneable>?' type in method signature has 1 type arguments, while 'List' in alternative signature has 0 of them")
|
||||
|
||||
+1
-1
@@ -3,7 +3,7 @@ package test;
|
||||
import java.util.*;
|
||||
|
||||
import jet.runtime.typeinfo.KotlinSignature;
|
||||
import org.jetbrains.jet.jvm.compiler.annotation.ExpectLoadError;
|
||||
import org.jetbrains.kotlin.jvm.compiler.annotation.ExpectLoadError;
|
||||
|
||||
public class WrongTypeParametersCount {
|
||||
@ExpectLoadError("Method signature has 2 type parameters, but alternative signature has 3")
|
||||
|
||||
+1
-1
@@ -2,7 +2,7 @@ package test;
|
||||
|
||||
import java.util.*;
|
||||
import jet.runtime.typeinfo.KotlinSignature;
|
||||
import org.jetbrains.jet.jvm.compiler.annotation.ExpectLoadError;
|
||||
import org.jetbrains.kotlin.jvm.compiler.annotation.ExpectLoadError;
|
||||
|
||||
public class WrongValueParameterStructure1 {
|
||||
//@ExpectLoadError("'kotlin.String?' type in method signature has 0 type arguments, while 'String<Int?>' in alternative signature has 1 of them")
|
||||
|
||||
+1
-1
@@ -2,7 +2,7 @@ package test;
|
||||
|
||||
import java.util.*;
|
||||
import jet.runtime.typeinfo.KotlinSignature;
|
||||
import org.jetbrains.jet.jvm.compiler.annotation.ExpectLoadError;
|
||||
import org.jetbrains.kotlin.jvm.compiler.annotation.ExpectLoadError;
|
||||
|
||||
public class WrongValueParameterStructure2 {
|
||||
//@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")
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
package test;
|
||||
|
||||
import jet.runtime.typeinfo.KotlinSignature;
|
||||
import org.jetbrains.jet.jvm.compiler.annotation.ExpectLoadError;
|
||||
import org.jetbrains.kotlin.jvm.compiler.annotation.ExpectLoadError;
|
||||
|
||||
public class WrongValueParametersCount {
|
||||
@ExpectLoadError("Method signature has 0 value parameters, but alternative signature has 1")
|
||||
|
||||
+1
-1
@@ -2,7 +2,7 @@ package test;
|
||||
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
import jet.runtime.typeinfo.KotlinSignature;
|
||||
import org.jetbrains.jet.jvm.compiler.annotation.ExpectLoadError;
|
||||
import org.jetbrains.kotlin.jvm.compiler.annotation.ExpectLoadError;
|
||||
import java.util.*;
|
||||
|
||||
public interface ChangeProjectionKind1 {
|
||||
|
||||
+1
-1
@@ -2,7 +2,7 @@ package test;
|
||||
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
import jet.runtime.typeinfo.KotlinSignature;
|
||||
import org.jetbrains.jet.jvm.compiler.annotation.ExpectLoadError;
|
||||
import org.jetbrains.kotlin.jvm.compiler.annotation.ExpectLoadError;
|
||||
import java.util.*;
|
||||
|
||||
public interface ChangeProjectionKind2 {
|
||||
|
||||
+1
-1
@@ -2,7 +2,7 @@ package test;
|
||||
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
import jet.runtime.typeinfo.KotlinSignature;
|
||||
import org.jetbrains.jet.jvm.compiler.annotation.ExpectLoadError;
|
||||
import org.jetbrains.kotlin.jvm.compiler.annotation.ExpectLoadError;
|
||||
import java.util.*;
|
||||
|
||||
public interface InheritMutability {
|
||||
|
||||
+1
-1
@@ -3,7 +3,7 @@ package test;
|
||||
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
import jet.runtime.typeinfo.KotlinSignature;
|
||||
import org.jetbrains.jet.jvm.compiler.annotation.ExpectLoadError;
|
||||
import org.jetbrains.kotlin.jvm.compiler.annotation.ExpectLoadError;
|
||||
import java.util.*;
|
||||
|
||||
public interface InheritProjectionKind {
|
||||
|
||||
+1
-1
@@ -2,7 +2,7 @@ package test;
|
||||
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
import jet.runtime.typeinfo.KotlinSignature;
|
||||
import org.jetbrains.jet.jvm.compiler.annotation.ExpectLoadError;
|
||||
import org.jetbrains.kotlin.jvm.compiler.annotation.ExpectLoadError;
|
||||
import java.util.*;
|
||||
|
||||
public interface InheritReadOnliness {
|
||||
|
||||
+1
-1
@@ -2,7 +2,7 @@ package test;
|
||||
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
import jet.runtime.typeinfo.KotlinSignature;
|
||||
import org.jetbrains.jet.jvm.compiler.annotation.ExpectLoadError;
|
||||
import org.jetbrains.kotlin.jvm.compiler.annotation.ExpectLoadError;
|
||||
import java.util.*;
|
||||
|
||||
public interface MutableToReadOnly {
|
||||
|
||||
+1
-1
@@ -2,7 +2,7 @@ package test;
|
||||
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
import jet.runtime.typeinfo.KotlinSignature;
|
||||
import org.jetbrains.jet.jvm.compiler.annotation.ExpectLoadError;
|
||||
import org.jetbrains.kotlin.jvm.compiler.annotation.ExpectLoadError;
|
||||
|
||||
public interface NotNullToNullable {
|
||||
|
||||
|
||||
+1
-1
@@ -2,7 +2,7 @@ package test;
|
||||
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
import jet.runtime.typeinfo.KotlinSignature;
|
||||
import org.jetbrains.jet.jvm.compiler.annotation.ExpectLoadError;
|
||||
import org.jetbrains.kotlin.jvm.compiler.annotation.ExpectLoadError;
|
||||
|
||||
public interface NullableToNotNull {
|
||||
|
||||
|
||||
+1
-1
@@ -2,7 +2,7 @@ package test;
|
||||
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
import jet.runtime.typeinfo.KotlinSignature;
|
||||
import org.jetbrains.jet.jvm.compiler.annotation.ExpectLoadError;
|
||||
import org.jetbrains.kotlin.jvm.compiler.annotation.ExpectLoadError;
|
||||
|
||||
public interface NullableToNotNullKotlinSignature {
|
||||
|
||||
|
||||
+1
-1
@@ -2,7 +2,7 @@ package test;
|
||||
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
import jet.runtime.typeinfo.KotlinSignature;
|
||||
import org.jetbrains.jet.jvm.compiler.annotation.ExpectLoadError;
|
||||
import org.jetbrains.kotlin.jvm.compiler.annotation.ExpectLoadError;
|
||||
import java.util.*;
|
||||
|
||||
public interface ReadOnlyToMutable {
|
||||
|
||||
+1
-1
@@ -2,7 +2,7 @@ package test;
|
||||
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
import jet.runtime.typeinfo.KotlinSignature;
|
||||
import org.jetbrains.jet.jvm.compiler.annotation.ExpectLoadError;
|
||||
import org.jetbrains.kotlin.jvm.compiler.annotation.ExpectLoadError;
|
||||
|
||||
public interface AddNullabilityJavaSubtype {
|
||||
|
||||
|
||||
+1
-1
@@ -3,7 +3,7 @@ package test;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
import java.util.List;
|
||||
import jet.runtime.typeinfo.KotlinSignature;
|
||||
import org.jetbrains.jet.jvm.compiler.annotation.ExpectLoadError;
|
||||
import org.jetbrains.kotlin.jvm.compiler.annotation.ExpectLoadError;
|
||||
|
||||
public interface AddNullabilitySameGenericType1 {
|
||||
|
||||
|
||||
+1
-1
@@ -3,7 +3,7 @@ package test;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
import java.util.List;
|
||||
import jet.runtime.typeinfo.KotlinSignature;
|
||||
import org.jetbrains.jet.jvm.compiler.annotation.ExpectLoadError;
|
||||
import org.jetbrains.kotlin.jvm.compiler.annotation.ExpectLoadError;
|
||||
|
||||
public interface AddNullabilitySameGenericType2 {
|
||||
|
||||
|
||||
+1
-1
@@ -3,7 +3,7 @@ package test;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
import java.lang.CharSequence;
|
||||
import jet.runtime.typeinfo.KotlinSignature;
|
||||
import org.jetbrains.jet.jvm.compiler.annotation.ExpectLoadError;
|
||||
import org.jetbrains.kotlin.jvm.compiler.annotation.ExpectLoadError;
|
||||
|
||||
public interface AddNullabilitySameJavaType {
|
||||
|
||||
|
||||
+1
-1
@@ -4,7 +4,7 @@ import org.jetbrains.annotations.NotNull;
|
||||
import java.util.*;
|
||||
|
||||
import jet.runtime.typeinfo.KotlinSignature;
|
||||
import org.jetbrains.jet.jvm.compiler.annotation.ExpectLoadError;
|
||||
import org.jetbrains.kotlin.jvm.compiler.annotation.ExpectLoadError;
|
||||
|
||||
public interface CantMakeImmutableInSubclass {
|
||||
|
||||
|
||||
+1
-1
@@ -2,7 +2,7 @@ package test;
|
||||
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
import jet.runtime.typeinfo.KotlinSignature;
|
||||
import org.jetbrains.jet.jvm.compiler.annotation.ExpectLoadError;
|
||||
import org.jetbrains.kotlin.jvm.compiler.annotation.ExpectLoadError;
|
||||
|
||||
import java.util.*;
|
||||
|
||||
|
||||
+1
-1
@@ -2,7 +2,7 @@ package test;
|
||||
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
import jet.runtime.typeinfo.KotlinSignature;
|
||||
import org.jetbrains.jet.jvm.compiler.annotation.ExpectLoadError;
|
||||
import org.jetbrains.kotlin.jvm.compiler.annotation.ExpectLoadError;
|
||||
import java.util.*;
|
||||
import java.util.List;
|
||||
|
||||
|
||||
+1
-1
@@ -2,7 +2,7 @@ package test;
|
||||
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
import jet.runtime.typeinfo.KotlinSignature;
|
||||
import org.jetbrains.jet.jvm.compiler.annotation.ExpectLoadError;
|
||||
import org.jetbrains.kotlin.jvm.compiler.annotation.ExpectLoadError;
|
||||
import java.util.*;
|
||||
|
||||
public interface InheritReadOnliness {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
package test;
|
||||
|
||||
import java.util.List;
|
||||
import org.jetbrains.jet.jvm.compiler.annotation.ExpectLoadError;
|
||||
import org.jetbrains.kotlin.jvm.compiler.annotation.ExpectLoadError;
|
||||
|
||||
public interface ArraysInSubtypes {
|
||||
interface Super {
|
||||
@@ -18,4 +18,4 @@ public interface ArraysInSubtypes {
|
||||
|
||||
T[] objArray();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -4,7 +4,7 @@ import org.jetbrains.annotations.NotNull;
|
||||
import java.util.List;
|
||||
|
||||
import jet.runtime.typeinfo.KotlinSignature;
|
||||
import org.jetbrains.jet.jvm.compiler.annotation.ExpectLoadError;
|
||||
import org.jetbrains.kotlin.jvm.compiler.annotation.ExpectLoadError;
|
||||
|
||||
public interface TwoSuperclassesInconsistentGenericTypes {
|
||||
@KotlinSignature("fun foo(): MutableList<String?>")
|
||||
|
||||
+1
-1
@@ -6,7 +6,7 @@ import java.lang.String;
|
||||
import java.util.List;
|
||||
|
||||
import jet.runtime.typeinfo.KotlinSignature;
|
||||
import org.jetbrains.jet.jvm.compiler.annotation.ExpectLoadError;
|
||||
import org.jetbrains.kotlin.jvm.compiler.annotation.ExpectLoadError;
|
||||
|
||||
public interface TwoSuperclassesVarargAndNot {
|
||||
public interface Super1 {
|
||||
|
||||
Reference in New Issue
Block a user