[FIR] Properly set isReceiver for implicit invoke on function types
This commit is contained in:
committed by
Space Team
parent
2bd77d5cdc
commit
c69c34ff8b
@@ -2,6 +2,6 @@ fun bar(doIt: Int.() -> Int) {
|
||||
1.doIt()
|
||||
1<!UNNECESSARY_SAFE_CALL!>?.<!>doIt()
|
||||
val i: Int? = 1
|
||||
<!ARGUMENT_TYPE_MISMATCH!>i<!>.doIt()
|
||||
i.<!UNSAFE_IMPLICIT_INVOKE_CALL!>doIt<!>()
|
||||
i?.doIt()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user