[FIR] Remove the fast path if as insignificant

This if is a bit inconsistent with the
LUB checking approach, so if it doesn't
improve performance it's better to remove it.
This commit is contained in:
Nikolay Lunyak
2023-04-04 15:15:43 +03:00
committed by Space Team
parent 4813b659ab
commit 3987efa036
3 changed files with 6 additions and 8 deletions
@@ -5,5 +5,5 @@
fun collapse(path: String) {
val result = (path as <!PLATFORM_CLASS_MAPPED_TO_KOTLIN!>java.lang.String<!>).replace("123", "456")
if (<!EQUALITY_NOT_APPLICABLE_WARNING!>result !== path<!>) {}
if (result !== path) {}
}