Remove redundant curly braces in string templates on inline

This commit is contained in:
Valentin Kipyatkov
2017-05-23 17:13:02 +03:00
parent ab1b985bac
commit c69375ebdc
8 changed files with 181 additions and 79 deletions
@@ -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()}")
}