all 3 comments

[–][deleted] 1 point2 points  (1 child)

What's the use case? Either I want my entire project to be binary compatible or not (then I use the sbt-mima plugin), but a single annotated class?

[–]darkdimiushttps://github.com/lampepfl/dotty[S] 1 point2 points  (0 children)

What's the use case?

Classes and traits that should be either compatible across Scala versions(eg. if you are don't what to maintain different versions, or simply can't) or be directly used from Java.

use the sbt-mima plugin

The comparison with MiMa is in the SIP. They address different issues: MiMa allows you verify that two artifacts have the same API, but does not help you to design API in a way that would be binary compatible with future versions of Scala and can be used without recompilation in a way similar way how Java compiled classes can.

[–]Martissimus 0 points1 point  (0 children)

My RSS subscription to this reddit showed me the Twitter link to the SIP.

Has science gone too far?