FIR checker: warn unnecessary non-null assertions
This commit is contained in:
committed by
Mikhail Glukhikh
parent
5229d4e4f4
commit
2ecb6733ed
+1
-1
@@ -11,6 +11,6 @@ fun <T> foo(b: B, f: () -> T): T = f()
|
||||
|
||||
fun test(c: C) {
|
||||
<!OVERLOAD_RESOLUTION_AMBIGUITY!>foo<!>(c) f@ {
|
||||
c!!
|
||||
c<!UNNECESSARY_NOT_NULL_ASSERTION!>!!<!>
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user