KT-881 overoptimized + in string templates
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
fun box() : String {
|
||||
val b = 1+1
|
||||
if ("$b" != "2") return "fail"
|
||||
if ("${1+1}" != "2") return "fail"
|
||||
return "OK"
|
||||
}
|
||||
Reference in New Issue
Block a user