Fixed keywords after 'this@' completion + fixed implementation of JetExpressionWithLabel.getLabelName()
This commit is contained in:
@@ -4,5 +4,5 @@ class `this` {
|
||||
}
|
||||
}
|
||||
|
||||
// ELEMENT: "this@this"
|
||||
// ELEMENT: "this@`this`"
|
||||
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
class `this` {
|
||||
fun String.foo(){
|
||||
val foo: `this` = this@this<caret>
|
||||
val foo: `this` = this@`this`<caret>
|
||||
}
|
||||
}
|
||||
|
||||
// ELEMENT: "this@this"
|
||||
// ELEMENT: "this@`this`"
|
||||
|
||||
|
||||
@@ -9,4 +9,4 @@ fun foo(){
|
||||
})
|
||||
}
|
||||
|
||||
// ELEMENT: this@fun
|
||||
// ELEMENT: this@`fun`
|
||||
|
||||
@@ -4,9 +4,9 @@ fun bar(handler: Int.() -> Unit){}
|
||||
fun foo(){
|
||||
`fun`({
|
||||
bar({
|
||||
val s: String = this@fun<caret>
|
||||
val s: String = this@`fun`<caret>
|
||||
})
|
||||
})
|
||||
}
|
||||
|
||||
// ELEMENT: this@fun
|
||||
// ELEMENT: this@`fun`
|
||||
|
||||
Reference in New Issue
Block a user