Fixed: analyze unmapped (or with no callee) functional arguments with right context.
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
package c
|
||||
|
||||
fun test() {
|
||||
with (1) @l {
|
||||
foo(1, <!NAMED_PARAMETER_NOT_FOUND!>zz<!> = { this@l } )
|
||||
}
|
||||
}
|
||||
|
||||
fun foo(x: Int) = x
|
||||
|
||||
// from library
|
||||
fun <T, R> with(receiver: T, f: T.() -> R) : R = receiver.f()
|
||||
Reference in New Issue
Block a user