[FIR] Fix NO_RECEIVER_ALLOWED
If we do create an implicit invoke call, and then put the receiver into the argument list, we should mark it.
This commit is contained in:
committed by
Space Team
parent
eb11901d43
commit
9b786d35f8
+1
-1
@@ -1,5 +1,5 @@
|
||||
// ISSUE: KT-64891
|
||||
|
||||
fun test(f: (Int) -> Int) {
|
||||
2.(f)()
|
||||
<!NO_RECEIVER_ALLOWED!>2.(f)()<!>
|
||||
}
|
||||
Reference in New Issue
Block a user