[FIR] Implement warnings for java nullability upper bound violation

This commit is contained in:
Kirill Rakhman
2023-09-21 10:29:45 +02:00
committed by Space Team
parent 2df1e9dde6
commit a63ec9efdc
18 changed files with 150 additions and 26 deletions
@@ -1,12 +0,0 @@
// MUTE_FOR_PSI_CLASS_FILES_READING
// SKIP_TXT
// FILE: J1.java
import io.reactivex.rxjava3.annotations.*;
public class J1<@NonNull T> {}
// FILE: main.kt
fun main() {
J1<Any?>() // violated nullability, no warnings; but there is an error with -Xtype-enhancement-improvements-strict-mode
}
@@ -1,3 +1,4 @@
// FIR_IDENTICAL
// MUTE_FOR_PSI_CLASS_FILES_READING
// SKIP_TXT