Use WarningAwareUpperBoundChecker independently

^KT-47920 Fixed
^KT-48290 Fixed
This commit is contained in:
Victor Petukhov
2021-09-28 13:17:57 +03:00
parent d9c50f0fda
commit b957831683
10 changed files with 22 additions and 19 deletions
@@ -8,5 +8,5 @@ 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
J1<<!UPPER_BOUND_VIOLATED_BASED_ON_JAVA_ANNOTATIONS!>Any?<!>>() // violated nullability, no warnings; but there is an error with -Xtype-enhancement-improvements-strict-mode
}