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

Fix onErrorResumeNext partial function ambiguity problem #82

Merged
merged 4 commits into from
Mar 3, 2015

Conversation

jbripley
Copy link
Contributor

@jbripley jbripley commented Dec 7, 2014

As described in #79, the current implementation of having two overloaded onErrorResumeNext methods leads to ambiguity problems with the common Scala partial function shorthand idiom. This pull request solves this by removing one of the onErrorResumeNext methods, since the functionality of that method can be accomplished by using the remaining method.

…aks partial function usage

- onErrorResumeNext(Observable[U])  can be accomplished with onErrorResumeNext(Throwable => Observable[U]) like this o.onErrorResumeNext(_ => resumeSeq)
@zsxwing
Copy link
Member

zsxwing commented Dec 10, 2014

LGTM. Hold off until 0.24.0.

zsxwing added a commit that referenced this pull request Mar 3, 2015
Fix onErrorResumeNext partial function ambiguity problem
@zsxwing zsxwing merged commit 08689e4 into ReactiveX:0.x Mar 3, 2015
@jbripley jbripley deleted the onerrorresumenext-consolidation branch March 16, 2015 22:49
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