Assertion failure fixed on fixpoint generics loaded from Java

This commit is contained in:
Andrey Breslav
2011-11-07 20:15:58 +03:00
parent 3e59df95ef
commit c57ae34cf0
2 changed files with 52 additions and 16 deletions
@@ -0,0 +1,24 @@
// Fixpoint generic in Java: Enum<T extends Enum<T>>
fun test(a : annotation.RetentionPolicy) {
}
fun test() {
java.util.Collections.emptyList()
}
fun test(a : java.lang.Comparable<Int>) {
}
fun test(a : java.util.ArrayList<Int>) {
}
fun test(a : java.lang.Class<Int>) {
}
fun test(a : java.lang.Class<Int>) {
}