mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-10 08:31:29 +00:00
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:
@@ -2,5 +2,5 @@ package test
|
||||
|
||||
public open class NotNullParameter {
|
||||
public constructor NotNullParameter()
|
||||
public open fun hi(/*0*/ p0: kotlin.String!): kotlin.Unit
|
||||
public open fun hi(/*0*/ org.jetbrains.annotations.NotNull() p0: kotlin.String!): kotlin.Unit
|
||||
}
|
||||
Reference in New Issue
Block a user