Disabled error checking for if super/sub method has raw types in signature.

This commit is contained in:
Evgeny Gerashchenko
2012-12-10 17:19:31 +04:00
parent c8aa3d9290
commit 1dc928b5db
5 changed files with 182 additions and 8 deletions
@@ -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?>?
}
}