ExpressionReplacementPerformer: handle string templates accurately

This commit is contained in:
Mikhail Glukhikh
2017-04-13 13:36:27 +03:00
parent 815a367978
commit 91f7f19902
4 changed files with 61 additions and 17 deletions
@@ -0,0 +1,4 @@
fun foo() {
fun bar() = ""
val y = "!!x=${<caret>bar()}!!"
}
@@ -0,0 +1,3 @@
fun foo() {
val y = "!!x=!!"
}