KT-15553 Support compile constant for "Copy concatenation text to clipboard"

#KT-15553 Fixed
This commit is contained in:
shiraji
2017-01-14 02:31:25 +09:00
committed by Mikhail Glukhikh
parent 909007d984
commit d9ec8a92f2
11 changed files with 79 additions and 11 deletions
+1 -1
View File
@@ -1 +1 @@
"" + 1 + 1.1 + "foo"
val test = "" + 1 + 1.1 + "foo"
@@ -0,0 +1,2 @@
val b = 1
val test = "" + b + "foo"
@@ -0,0 +1 @@
1foo
+1 -1
View File
@@ -1 +1 @@
"foo" + "bar"
val test = "foo" + "bar"
@@ -1 +1,7 @@
"foo$foo$bar" + "${bar}${bar2()}bar"
// WITH_RUNTIME
var foo = "aaa"
var bar = "bbb"
fun bar2() = "will be ignored"
val test = "foo$foo$bar" + "${bar}${bar2()}bar"
@@ -0,0 +1,7 @@
// WITH_RUNTIME
val foo = "aaa"
val bar = "bbb"
fun bar2() = "will be ignored"
val test = "foo$foo$bar" + "${bar}${bar2()}bar"
@@ -0,0 +1 @@
fooaaabbbbbb?bar
+2 -1
View File
@@ -1 +1,2 @@
"" + b<caret> + "foo"
var b = 1
val test = "" + b + "foo"