Show warnings for Java methods with external annotations when they called from Kotlin code
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
fun test() {
|
||||
val x = ClassWithExternalAnnotatedMembers()
|
||||
x.methodWithNotNullParameter(<warning descr="[NULLABILITY_MISMATCH_BASED_ON_JAVA_ANNOTATIONS] Type mismatch: inferred type is Nothing? but Int was expected">null</warning>)
|
||||
}
|
||||
Reference in New Issue
Block a user