Skip to content
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

Add methods asProduct10 to asProduct21 #17

Merged
merged 2 commits into from
Aug 29, 2018
Merged

Conversation

smarter
Copy link

@smarter smarter commented Aug 28, 2018

After sbt/util#173, Position now has 13 fields
so TextAnalysisFormat in Zinc needs asProduct13. While we're at it we
bump the max to 21 to give us some legroom.

After sbt/util#173, Position now has 13 fields
so TextAnalysisFormat in Zinc needs asProduct13. While we're at it we
bump the max to 21 to give us some legroom.
@smarter
Copy link
Author

smarter commented Aug 28, 2018

@eed3si9n Mima fails because adding a method to a trait in 2.10 and 2.11 isn't binary-compatible (in 2.12 it's okay), should I bump the major version, drop 2.10/2.11 or filter the failure?

smarter added a commit to smarter/zinc that referenced this pull request Aug 28, 2018
This was forgotten in sbt#580. We need to define asProduct13 ourselves
since it's missing from sbinary, see
sbt/sbinary#17
@xuwei-k xuwei-k requested a review from eed3si9n August 28, 2018 16:11
@eed3si9n
Copy link
Member

Since Zinc is the only intended customer it doesn't really matter what we do here, but I think bumping to 0.5.0 is the best of these options.

Copy link
Member

@eed3si9n eed3si9n left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bump version to 0.5.0 and comment out Mima previous artifact?

This is necessary since the previous commit broke BC on 2.10/2.11
@smarter
Copy link
Author

smarter commented Aug 29, 2018

Done.

@eed3si9n eed3si9n merged commit de316e8 into sbt:master Aug 29, 2018
smarter added a commit to smarter/zinc that referenced this pull request Aug 30, 2018
This was forgotten in sbt#580. Also bump sbinary to 0.5.0 to make
`asProduct13` from sbt/sbinary#17 available.
jvican pushed a commit to scalacenter/zinc that referenced this pull request Dec 15, 2019
This was forgotten in sbt#580. Also bump sbinary to 0.5.0 to make
`asProduct13` from sbt/sbinary#17 available.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants