FIR checker: warn unnecessary non-null assertions
This commit is contained in:
committed by
Mikhail Glukhikh
parent
5229d4e4f4
commit
2ecb6733ed
@@ -28,7 +28,7 @@ fun testElvis(x: Any?) {
|
||||
}
|
||||
|
||||
fun testExclExcl() {
|
||||
val y = :: unresolved!!
|
||||
val y = :: unresolved<!NOT_NULL_ASSERTION_ON_CALLABLE_REFERENCE!>!!<!>
|
||||
}
|
||||
|
||||
fun testTry() {
|
||||
|
||||
Reference in New Issue
Block a user