Skip to content

Add BuildFrom #3

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 1 commit into from
Mar 28, 2018
Merged

Add BuildFrom #3

merged 1 commit into from
Mar 28, 2018

Conversation

julienrf
Copy link
Contributor

@julienrf julienrf commented Mar 28, 2018

The goal of this PR is to make it possible for library authors to write code that uses the new BuildFrom but that still works with old Scala versions.

This PR introduces the BuildFrom type and derives instances from existing CanBuildFrom instances.

@julienrf
Copy link
Contributor Author

The CI failed because it requires #4 to be merged first.

@julienrf julienrf closed this Mar 28, 2018
@julienrf julienrf reopened this Mar 28, 2018
@julienrf julienrf merged commit fcc3425 into scala:master Mar 28, 2018
@julienrf julienrf deleted the build-from branch March 28, 2018 13:33
@@ -1,3 +1,5 @@
package collection
Copy link
Contributor

Choose a reason for hiding this comment

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

What's the point of putting the tests into this package?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Just to not use the empty package.

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