[FIR] Implement NULL_FOR_NONNULL_TYPE diagnostics, fix tests
This commit is contained in:
+1
-1
@@ -14,7 +14,7 @@ interface B: A {
|
||||
fun test(a: A) {
|
||||
if (a is B && a is C) {
|
||||
a.foo = ""
|
||||
a.foo = null
|
||||
a.foo = <!NULL_FOR_NONNULL_TYPE!>null<!>
|
||||
|
||||
a.foo.checkType { _<String>() }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user