Adding overloads to value class breaks binary compatibility


#1

I just came across this on Cats. @mpilquist pointed out that adding overloads to value classes breaks binary compatibility. I googled but couldn’t find a related issue. Where can I find some discussion on this? (I am asking because it seems to me that it could be avoided.)
Thanks!


#2

Should this be fixed in Scala 2.13.0? Why are the overloaded methods generated with an extra digit? Wouldn’t Java’s regular method overloading be enough?


#3

That and overloading with default arguments would be very nice to have fixed in the next version of Scala


#4

2.13.0-RC1 will be released in a couple of weeks, it’s way too late for changing this now.


#5

Would there be a reason for it not to be appropriate for 2.14, then?