-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make EmptyTuple
a case object
#14972
Make EmptyTuple
a case object
#14972
Conversation
Strange, the MiMA passes. I expect it to fail because the case object added new methods on @dwijnand do you know if these definitions are ignored by MiMa for some reason? |
It looks like we're only checking scala3-library for backwards compatibility. And in backwards compatibility adding methods is only a problem for extendable classes, not for object. So we need to change the setting so both directions are checked:
|
Thank you @dwijnand. The check is passing because we updated to |
@sjrd do you see any source or binary compatibility issue with this change? We add some new methods and the possibility of getting a mirror for |
It changes the public API, so it's definitely source incompatible (backward and forward). It should be backward binary compatible, though. |
No description provided.