Completion of this@...: supported labeled function literals
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
fun foo(): String.() -> Unit {
|
||||
return (@label {
|
||||
f {
|
||||
<caret>
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
fun f(p: Any.() -> Unit){}
|
||||
|
||||
// INVOCATION_COUNT: 1
|
||||
// EXIST: { lookupString: "this", itemText: "this", tailText: null, typeText: "Any", attributes: "bold" }
|
||||
// ABSENT: "this@f"
|
||||
// EXIST: { lookupString: "this@label", itemText: "this", tailText: "@label", typeText: "String", attributes: "bold" }
|
||||
Reference in New Issue
Block a user