KT-18674 Join Lines should join strings (#1305)

* Join Lines should join strings #KT-18674 Fixed

* #KT-18674 Fixed
This commit is contained in:
Toshiaki Kameyama
2018-01-03 19:27:16 +09:00
committed by Dmitry Jemerov
parent 16695c1af5
commit eb12cfd444
12 changed files with 120 additions and 2 deletions
@@ -0,0 +1,5 @@
fun test() {
val foo = "1"
val s = foo +<caret>
"bar"
}
@@ -0,0 +1,4 @@
fun test() {
val foo = "1"
val s = foo +<caret> "bar"
}
@@ -0,0 +1,5 @@
fun test() {
val foo = "1"
val s = "bar" +<caret>
foo
}
@@ -0,0 +1,4 @@
fun test() {
val foo = "1"
val s = "bar" +<caret> foo
}
+4
View File
@@ -0,0 +1,4 @@
fun test() {
val s = "foo" +<caret>
"bar"
}
@@ -0,0 +1,3 @@
fun test() {
val s = "foo<caret>bar"
}
+5
View File
@@ -0,0 +1,5 @@
fun test() {
val s = "foo" +<caret>
"bar" +
"baz"
}
@@ -0,0 +1,4 @@
fun test() {
val s = "foo<caret>bar" +
"baz"
}