More correct convertation to string template when number literals involved
This commit is contained in:
+1
-1
@@ -1,3 +1,3 @@
|
||||
fun main(args: Array<String>){
|
||||
val x = "abc0.32"
|
||||
val x = "abc${0.320}"
|
||||
}
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
fun foo(p1: Int, p2: Int, p3: Int) {
|
||||
val v = <caret>"a" + 0xAAA + p1 + 123 + p2 + 1.25 + "b"
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
fun foo(p1: Int, p2: Int, p3: Int) {
|
||||
val v = <caret>"a${0xAAA}${p1}123${p2}1.25b"
|
||||
}
|
||||
Reference in New Issue
Block a user