-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Removing controversial either
method from Futures API.
#1656
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
Removing controversial either
method from Futures API.
#1656
Conversation
* Removes `either` from Future * No tests need to change, since this was an untested method.
LGTM |
I also submitted a corresponding update to the futures overview on the doc site (see above) |
Started jenkins job pr-rangepos at https://scala-webapps.epfl.ch/jenkins/job/pr-rangepos/991/ |
jenkins job pr-rangepos: Success - https://scala-webapps.epfl.ch/jenkins/job/pr-rangepos/991/ |
Started jenkins job pr-scala-testsuite-linux-opt at https://scala-webapps.epfl.ch/jenkins/job/pr-scala-testsuite-linux-opt/1702/ |
jenkins job pr-scala-testsuite-linux-opt: Success - https://scala-webapps.epfl.ch/jenkins/job/pr-scala-testsuite-linux-opt/1702/ |
I'm fine merging this, but it would be good to know why this is controversial (does it conflict with a method that is added on through implicits?) so that people who might be affected unbeknownst to us at least understand the change. |
This has been long-discussed in this thread: Here, the consensus was to remove it for now. Later, e.g. in 2.10.1, when some consensus is arrived at regarding naming and semantics of this method, we can add it without breaking binary compatibility. |
Thanks for the link, Heather. Sorry I missed that discussion. |
Removing controversial `either` method from Futures API.
Great. Thanks, Heather and Adriaan. |
Method 'either' of the 'Future' trait will not be part of Scala 2.10.0, therefore it should not be mentioned in the futures overview article. The corresponding pull request: scala/scala#1656
either
from FutureReview by @phaller