FIR: don't call toString() inside string concatenations

This commit is contained in:
Mikhail Glukhikh
2021-04-22 14:11:41 +03:00
parent 7dcdbf283b
commit f278de8768
48 changed files with 125 additions and 306 deletions
@@ -17,7 +17,7 @@ class Flaf {
var result: Flaf? = <this>.<get-INSTANCES>().get(key = javaName)
when {
EQEQ(arg0 = result, arg1 = null) -> { // BLOCK
result = <this>.<get-INSTANCES>().get(key = javaName.toString() + "_alternative")
result = <this>.<get-INSTANCES>().get(key = javaName + "_alternative")
when {
EQEQ(arg0 = result, arg1 = null) -> { // BLOCK
result = Flaf(javaName = javaName)