Show warnings for Java methods with external annotations when they called from Kotlin code
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
@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>
|
||||
}
|
||||
Reference in New Issue
Block a user