Java declaration annotations are treated as type annotations
This is needed, for example, to approximate flexible types correctly when rendering them in the code
This commit is contained in:
+1
-1
@@ -4,7 +4,7 @@ public trait NullableToNotNull {
|
||||
|
||||
public trait Sub : test.NullableToNotNull.Super {
|
||||
public abstract override /*1*/ /*fake_override*/ fun dummy(): kotlin.Unit
|
||||
public abstract override /*1*/ fun foo(/*0*/ p0: kotlin.String!): kotlin.Unit
|
||||
public abstract override /*1*/ fun foo(/*0*/ org.jetbrains.annotations.NotNull() p0: kotlin.String!): kotlin.Unit
|
||||
}
|
||||
|
||||
public trait Super {
|
||||
|
||||
Reference in New Issue
Block a user