Hi! How to check if two symbols are equals? ```fun...
# compiler
p
Hi! How to check if two symbols are equals?
Copy code
fun isSymbolsEqual(s1: IrSymbol, s2: IrSymbol): Boolean = ?
Comparing directly s1 == s2 returns false for the same owner and owners can be not equal by direct compare. I'm trying to compare IrCall.symbol (while visiting) with function symbol taken by pluginContext.referenceFunctions. While debug I see that fqName and all attributes of both functions (owner) are the same but those owners are not the same by ref (!==).