FIR: report UNSAFE_CALL on dot when possible
This commit is contained in:
@@ -4,7 +4,7 @@ class C {
|
||||
|
||||
fun test(a: C?, nn: () -> Nothing?) {
|
||||
a ?: nn()
|
||||
a.<!UNSAFE_CALL!>foo<!>()
|
||||
a<!UNSAFE_CALL!>.<!>foo()
|
||||
|
||||
a ?: return
|
||||
a.foo()
|
||||
|
||||
Reference in New Issue
Block a user