I’ve been playing with inline classes and noticed that inline class types are boxed when testing equality (e.g. doing
if (inlineClassInstance1 == inlineClassInstance2)). I understand now why this is (equals takes
Any? and nullable/parent types require boxing), but this seems like such a common scenario when using inline classes that it’d be great to have some support for being able to test equality/inequality without boxing, since that defeats a lot of the purpose of using them.
Is it possible? Something the team is considering for the final version of inline classes?