FIR IDE: Enable AddExclExclCallFix for UNSAFE_CALL,
UNSAFE_OPERATOR_CALL, UNSAFE_INFIX_CALL, ITERATOR_ON_NULLABLE, ARGUMENT_TYPE_MISMATCH, RETURN_TYPE_MISMATCH. TODO: Don't offer fix when target is known to be null (from data flow analysis).
This commit is contained in:
committed by
Ilya Kirillov
parent
71a8d9c0bb
commit
db82797f58
@@ -5,4 +5,6 @@ class Foo {
|
||||
|
||||
fun Foo?.test() {
|
||||
val f = ::f<caret>
|
||||
}
|
||||
}
|
||||
// TODO: Enable when FIR reports UNSAFE_CALL for function reference on nullable (currently UNRESOLVED_REFERENCE)
|
||||
/* IGNORE_FIR */
|
||||
|
||||
Reference in New Issue
Block a user