Don't call redundant toString for variables of type Int

Refactor StringTemplateTranslator a little
This commit is contained in:
pTalanov
2012-10-01 21:15:13 +04:00
parent b7b8c5a757
commit 5bc4fc458a
3 changed files with 33 additions and 9 deletions
@@ -0,0 +1,9 @@
package foo
fun box() : String {
val number = 3
val s1 = "${number-1}${number}"
val s2 = "${5}${4}"
return "${s1}${s2}"
}