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

5 lines
267 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.nullableField</warning>
}