Tests fixed after default nullability for type arguments changed to NotNull

This commit is contained in:
Andrey Breslav
2012-12-07 21:42:48 +04:00
parent d4d713050a
commit 947ab99f53
8 changed files with 27 additions and 19 deletions
@@ -7,6 +7,6 @@ public abstract trait test.TwoSuperclassesInconsistentGenericTypes : java.lang.O
}
public open class test.TwoSuperclassesInconsistentGenericTypes.Sub : test.TwoSuperclassesInconsistentGenericTypes, test.TwoSuperclassesInconsistentGenericTypes.Other {
public final /*constructor*/ fun <init>(): test.TwoSuperclassesInconsistentGenericTypes.Sub
public open override /*2*/ fun foo(): jet.MutableList<jet.String?>
public open override /*2*/ fun foo(): jet.MutableList<jet.String>
}
}
@@ -14,6 +14,7 @@ public interface TwoSuperclassesVarargAndNot {
}
public interface Super2 {
@KotlinSignature("fun foo(s : Array<out String?>?)")
void foo(String[] s);
}
@@ -2,23 +2,23 @@ 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 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 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 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 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 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 simple3(): jet.MutableList<jet.String>?
public abstract fun wildcard(): jet.MutableList<out jet.Any?>?
}
}