Files
kotlin-fork/idea/testData/externalAnnotations/nullableMethod.kt
T

5 lines
270 B
Kotlin
Vendored

@Suppress("UNUSED_VARIABLE")
fun test() {
val x = ClassWithExternalAnnotatedMembers()
val y: String = <warning descr="[NULLABILITY_MISMATCH_BASED_ON_JAVA_ANNOTATIONS] Type mismatch: inferred type is String? but String was expected">x.nullableMethod()</warning>
}