Equality comparison of inline classes without boxing

#1

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?

#2

Actually on this page I just noticed this:

// Reserved method for specialized equals to avoid boxing
    public final static equals-impl0(II)Z 

does that exist today? should I be hitting that when doing == or !=?