[JVM_IR] Avoid using special names in static inline class replacements.
Fixes KT-46952
This commit is contained in:
committed by
Alexander Udalov
parent
b1ab597616
commit
f846dd8ea2
@@ -46,6 +46,12 @@ public final class Name implements Comparable<Name> {
|
||||
return special;
|
||||
}
|
||||
|
||||
@NotNull
|
||||
public String asStringStripSpecialMarkers() {
|
||||
if (isSpecial()) return asString().substring(1, asString().length() - 1);
|
||||
return asString();
|
||||
}
|
||||
|
||||
@Override
|
||||
public int compareTo(Name that) {
|
||||
return this.name.compareTo(that.name);
|
||||
|
||||
Reference in New Issue
Block a user