Disabled error checking for if super/sub method has raw types in signature.
This commit is contained in:
@@ -0,0 +1,36 @@
|
||||
package test;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.lang.Comparable;
|
||||
import java.lang.Runnable;
|
||||
import java.util.List;
|
||||
|
||||
public interface SubclassWithRawType {
|
||||
interface Super {
|
||||
List simple1();
|
||||
List simple2();
|
||||
List<String> simple3();
|
||||
|
||||
List<? extends List> boundWildcard1();
|
||||
List<? super List<String>> boundWildcard2();
|
||||
|
||||
List<?> wildcard();
|
||||
|
||||
List[] array1();
|
||||
List<String>[] array2();
|
||||
}
|
||||
|
||||
interface Sub extends Super {
|
||||
List<String> simple1();
|
||||
List<List<String>> simple2();
|
||||
List simple3();
|
||||
|
||||
List<? extends List<String>> boundWildcard1();
|
||||
List<? super List> boundWildcard2();
|
||||
|
||||
List wildcard();
|
||||
|
||||
List<String>[] array1();
|
||||
List[] array2();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
namespace test
|
||||
|
||||
public abstract trait test.SubclassWithRawType : java.lang.Object {
|
||||
public abstract trait test.SubclassWithRawType.Sub : test.SubclassWithRawType.Super {
|
||||
public abstract override /*1*/ fun array1(): jet.Array<jet.List<jet.String?>?>?
|
||||
public abstract override /*1*/ fun array2(): jet.Array<jet.List<jet.Any?>?>?
|
||||
public abstract override /*1*/ fun boundWildcard1(): jet.MutableList<out jet.List<jet.String?>?>?
|
||||
public abstract override /*1*/ fun boundWildcard2(): jet.MutableList<in jet.List<jet.Any?>?>?
|
||||
public abstract override /*1*/ fun simple1(): jet.MutableList<out jet.String?>?
|
||||
public abstract override /*1*/ fun simple2(): jet.MutableList<out jet.List<jet.String?>?>?
|
||||
public abstract override /*1*/ fun simple3(): jet.MutableList<out jet.Any?>?
|
||||
public abstract override /*1*/ fun wildcard(): jet.MutableList<out jet.Any?>?
|
||||
}
|
||||
public abstract trait test.SubclassWithRawType.Super : java.lang.Object {
|
||||
public abstract fun array1(): jet.Array<jet.List<jet.Any?>?>?
|
||||
public abstract fun array2(): jet.Array<jet.List<jet.String?>?>?
|
||||
public abstract fun boundWildcard1(): jet.MutableList<out jet.List<jet.Any?>?>?
|
||||
public abstract fun boundWildcard2(): jet.MutableList<in jet.List<jet.String?>?>?
|
||||
public abstract fun simple1(): jet.MutableList<out jet.Any?>?
|
||||
public abstract fun simple2(): jet.MutableList<out jet.Any?>?
|
||||
public abstract fun simple3(): jet.MutableList<jet.String?>?
|
||||
public abstract fun wildcard(): jet.MutableList<out jet.Any?>?
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user