Changing default nullability for type arguments to NotNull
This commit is contained in:
+2
-2
@@ -3,10 +3,10 @@ package test
|
||||
public trait InheritNotVararg: Object {
|
||||
|
||||
public trait Super: Object {
|
||||
public fun foo(p0: Array<out String?>?)
|
||||
public fun foo(p0: Array<out String>?)
|
||||
}
|
||||
|
||||
public trait Sub: Super {
|
||||
override fun foo(p0: Array<out String?>?)
|
||||
override fun foo(p0: Array<out String>?)
|
||||
}
|
||||
}
|
||||
|
||||
+2
-2
@@ -2,9 +2,9 @@ namespace test
|
||||
|
||||
public abstract trait test.InheritNotVararg : java.lang.Object {
|
||||
public abstract trait test.InheritNotVararg.Sub : test.InheritNotVararg.Super {
|
||||
public abstract override /*1*/ fun foo(/*0*/ p0: jet.Array<out jet.String?>?): jet.Tuple0
|
||||
public abstract override /*1*/ fun foo(/*0*/ p0: jet.Array<out jet.String>?): jet.Tuple0
|
||||
}
|
||||
public abstract trait test.InheritNotVararg.Super : java.lang.Object {
|
||||
public abstract fun foo(/*0*/ p0: jet.Array<out jet.String?>?): jet.Tuple0
|
||||
public abstract fun foo(/*0*/ p0: jet.Array<out jet.String>?): jet.Tuple0
|
||||
}
|
||||
}
|
||||
|
||||
+2
-2
@@ -3,10 +3,10 @@ package test
|
||||
public trait InheritNotVarargInteger: Object {
|
||||
|
||||
public trait Super: Object {
|
||||
public fun foo(p0: Array<out Int?>?)
|
||||
public fun foo(p0: Array<out Int>?)
|
||||
}
|
||||
|
||||
public trait Sub: Super {
|
||||
override fun foo(p0: Array<out Int?>?)
|
||||
override fun foo(p0: Array<out Int>?)
|
||||
}
|
||||
}
|
||||
|
||||
+2
-2
@@ -2,9 +2,9 @@ namespace test
|
||||
|
||||
public abstract trait test.InheritNotVarargInteger : java.lang.Object {
|
||||
public abstract trait test.InheritNotVarargInteger.Sub : test.InheritNotVarargInteger.Super {
|
||||
public abstract override /*1*/ fun foo(/*0*/ p0: jet.Array<out jet.Int?>?): jet.Tuple0
|
||||
public abstract override /*1*/ fun foo(/*0*/ p0: jet.Array<out jet.Int>?): jet.Tuple0
|
||||
}
|
||||
public abstract trait test.InheritNotVarargInteger.Super : java.lang.Object {
|
||||
public abstract fun foo(/*0*/ p0: jet.Array<out jet.Int?>?): jet.Tuple0
|
||||
public abstract fun foo(/*0*/ p0: jet.Array<out jet.Int>?): jet.Tuple0
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user