Skip to content

Fix Result extensions ambiguity - #733

Merged
mdiep merged 4 commits into
ReactiveCocoa:masterfrom
nekrich:master
May 13, 2019
Merged

mdiep merged 4 commits into
ReactiveCocoa:masterfrom
nekrich:master

Conversation

@nekrich

@nekrich nekrich commented Apr 30, 2019

Copy link
Copy Markdown
Contributor

Hi.

public protocol ResultProtocol , public var value: Success? & public var error: Failure? brings ambiguity for those who wrote their own extensions or use antitypical/Result.

This PR attempts to fix this issue.

Checklist

  • Updated CHANGELOG.md.

@mdiep

mdiep commented May 13, 2019

Copy link
Copy Markdown
Contributor

Awesome, thanks! Not sure how we missed this. 🙈

@mdiep
mdiep merged commit b1884a3 into ReactiveCocoa:master May 13, 2019
This was referenced Jun 18, 2019
@benasher44

Copy link
Copy Markdown

Just a heads up that this was a backward incompatible API change. We were using this, and our build broke after the upgrade from 6.0.0 to 6.1.0.

@ikesyo

ikesyo commented Sep 17, 2019 •

Copy link
Copy Markdown
Member

As stated at #743 (comment), this was considered as a bug.

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.

4 participants