Remove redundant curly braces in string templates on inline
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
class X(val v: Int) {
|
||||
fun <caret>foo() {
|
||||
println("foo()")
|
||||
return v
|
||||
}
|
||||
}
|
||||
|
||||
fun X.f1() {
|
||||
println("Value: ${foo()}")
|
||||
}
|
||||
|
||||
fun f2(x: X) {
|
||||
println("Value: ${x.foo()}")
|
||||
}
|
||||
Reference in New Issue
Block a user