KT-11912 String interpolation is not converted to ${} form when accessing this.property

#KT-11912 Fixed
This commit is contained in:
Valentin Kipyatkov
2016-04-18 17:28:39 +03:00
parent e441f0509f
commit f3bb3e9c6e
4 changed files with 19 additions and 2 deletions
@@ -0,0 +1,6 @@
fun String.foo() {
val s = "$this.<caret>"
}
// ELEMENT: equals
// TAIL_TEXT: "(other: Any?)"
@@ -0,0 +1,6 @@
fun String.foo() {
val s = "${this.equals(<caret>)}"
}
// ELEMENT: equals
// TAIL_TEXT: "(other: Any?)"