Skip to content

Add support for Scala 2.11 #5

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

Merged
merged 6 commits into from
Apr 18, 2018
Merged

Conversation

julienrf
Copy link
Contributor

@julienrf julienrf commented Mar 28, 2018

Fixes #1

The only required change was that in ImmutableArray’s implementation I had to inline a couple of methods that are defined in 2.12 but don’t exist in 2.11.

@julienrf julienrf requested a review from SethTisue March 28, 2018 12:37
@julienrf julienrf force-pushed the more-scala-versions branch from b0ffba4 to 757627d Compare March 28, 2018 12:38
@julienrf julienrf changed the title Add support for Scala 2.11 Add support for Scala 2.10 and 2.11 Mar 29, 2018
@SethTisue
Copy link
Member

not sure we should support 2.10. let's discuss further on the issue

build.sbt Outdated

crossScalaVersions := Seq("2.12.4", "2.13.0-pre-c577876")
crossScalaVersions := Seq("2.10.7", "2.12.5", "2.11.12", "2.13.0-pre-c577876")
Copy link
Contributor

Choose a reason for hiding this comment

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

Let's start with 2.12.5 here to make it the default. I'm OK with keeping 2.10.7 (at the end of the list) for now but if we run into any 2.10-specific problems, the default should be to drop 2.10 support.

Copy link
Member

Choose a reason for hiding this comment

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

I don't see any value in providing 2.10 support that might be dropped any time. I see negative value in this, in fact, as it leads potential users down a garden path of expecting continued 2.10 support.

Copy link
Contributor Author

@julienrf julienrf Apr 10, 2018

Choose a reason for hiding this comment

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

scalacheck is heavily depended on and it currently supports Scala 2.10. If we drop 2.10 support in the compat library, either scalacheck and all the projects that depend on it will have to drop 2.10 support, or we will have to copy the contents of the compat library in scalacheck.

@julienrf julienrf force-pushed the more-scala-versions branch from dfb6681 to 7a33253 Compare April 10, 2018 09:58
@julienrf julienrf force-pushed the more-scala-versions branch from c9e0aa8 to b33ea40 Compare April 18, 2018 09:05
@julienrf julienrf changed the title Add support for Scala 2.10 and 2.11 Add support for Scala 2.11 Apr 18, 2018
@julienrf
Copy link
Contributor Author

I’ve removed 2.10 support because some tests were failing due to a difference in type inference.

@julienrf julienrf merged commit d4c8c3b into scala:master Apr 18, 2018
@julienrf julienrf deleted the more-scala-versions branch April 18, 2018 09:10
martijnhoekstra pushed a commit to martijnhoekstra/scala-collection-compat that referenced this pull request Nov 9, 2022
- Remove extensibility framework (fixes scala#5)
- Remove `ImmutableMapDecorator` and `MutableMapDecorator`, because
  `updatedWith` and `updateWith` have been merged upstream
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.

3 participants