Update test affected by ProhibitUsingNullableTypeParameterAgainstNotNullAnnotated feature

This commit is contained in:
Mikhael Bogdanov
2021-07-01 10:31:57 +02:00
parent 228100ef09
commit 7cbd6908f9
9 changed files with 62 additions and 4 deletions
@@ -9,6 +9,6 @@ public interface TypeParamOfClass {
public interface Super</*0*/ T : kotlin.Any!> {
public abstract fun dummy(): kotlin.Unit
@org.jetbrains.annotations.NotNull public abstract fun foo(): T
@org.jetbrains.annotations.NotNull public abstract fun foo(): T!!
}
}
@@ -9,6 +9,6 @@ public interface TypeParamOfClassSubstituted {
public interface Super</*0*/ T : kotlin.Any!> {
public abstract fun dummy(): kotlin.Unit
@org.jetbrains.annotations.NotNull public abstract fun foo(): T
@org.jetbrains.annotations.NotNull public abstract fun foo(): T!!
}
}
@@ -9,6 +9,6 @@ public interface TypeParamOfFun {
public interface Super {
public abstract fun dummy(): kotlin.Unit
@org.jetbrains.annotations.NotNull public abstract fun </*0*/ T : kotlin.Any!> foo(): T
@org.jetbrains.annotations.NotNull public abstract fun </*0*/ T : kotlin.Any!> foo(): T!!
}
}