Surround with braces when completing backing field in string template
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
class C {
|
||||
var property = "abc"
|
||||
get() = $property + 1
|
||||
|
||||
fun foo(){
|
||||
"$<caret>"
|
||||
}
|
||||
}
|
||||
|
||||
// ELEMENT: $property
|
||||
@@ -0,0 +1,10 @@
|
||||
class C {
|
||||
var property = "abc"
|
||||
get() = $property + 1
|
||||
|
||||
fun foo(){
|
||||
"${$property<caret>}"
|
||||
}
|
||||
}
|
||||
|
||||
// ELEMENT: $property
|
||||
Reference in New Issue
Block a user