Convert concatenation to template: remove 'toString()' call #KT-6025 Fixed

This commit is contained in:
Toshiaki Kameyama
2018-11-08 16:38:07 +09:00
committed by Vyacheslav Gerasimov
parent 825d1d8b35
commit f1a0cefde0
4 changed files with 16 additions and 1 deletions
@@ -0,0 +1,4 @@
fun test(a: Any, b: Any, c: Any): String {
return "a:$a, b:${b}_ c:${c.toString("")}"
}
fun Any.toString(s: String) = ""