Remove nullability annotations attached to TYPE_USE position in tests
They do not work anyway by many reasons: - 'org.jetbrains.annotations.*' are not TYPE_USE targeted - raw type with annotated arguments is something very weird and should be investigated
This commit is contained in:
+1
-1
@@ -5,7 +5,7 @@ import java.util.*;
|
||||
|
||||
class A<T> {
|
||||
@NotNull
|
||||
List<@Nullable String> foo(@NotNull T x, @Nullable List<@NotNull String> y) {}
|
||||
List<String> foo(@NotNull T x, @Nullable List<String> y) {}
|
||||
}
|
||||
|
||||
// FILE: Test.java
|
||||
|
||||
+1
-1
@@ -6,7 +6,7 @@ public fun main(): kotlin.Unit
|
||||
public/*package*/ open class A</*0*/ T : kotlin.Any!> {
|
||||
public/*package*/ constructor A</*0*/ T : kotlin.Any!>()
|
||||
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
|
||||
@org.jetbrains.annotations.NotNull() public/*package*/ open fun foo(/*0*/ @org.jetbrains.annotations.NotNull() x: T, /*1*/ @org.jetbrains.annotations.Nullable() y: kotlin.collections.(Mutable)List<kotlin.String>?): kotlin.collections.(Mutable)List<kotlin.String?>
|
||||
@org.jetbrains.annotations.NotNull() public/*package*/ open fun foo(/*0*/ @org.jetbrains.annotations.NotNull() x: T, /*1*/ @org.jetbrains.annotations.Nullable() y: kotlin.collections.(Mutable)List<kotlin.String!>?): kotlin.collections.(Mutable)List<kotlin.String!>
|
||||
public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int
|
||||
public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user