eq

infix fun KSName?.eq(other: NameLike?): Boolean(source)
infix fun NameLike?.eq(other: KSName?): Boolean(source)

KSName does not implement equals, so this method compares it correctly to a symbol.

See google/ksp#2090.