[FIR] Add receiver for lambda in position of default argument
#KT-36905 Fixed
This commit is contained in:
+1
-1
@@ -4,7 +4,7 @@ fun test() {
|
||||
val a: (Int?).() -> Unit = a@{
|
||||
if (this != null) {
|
||||
val b: String.() -> Unit = {
|
||||
this@a.<!UNRESOLVED_REFERENCE!>times<!>(5) // a@ Unresolved
|
||||
this@a.times(5) // a@ Unresolved
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user