Skip to content

Allow Codable classes to share an Encoder with superclass#10520

Merged
itaiferber merged 1 commit intoswiftlang:masterfrom
itaiferber:foundation-shared-encoders
Jun 23, 2017
Merged

Allow Codable classes to share an Encoder with superclass#10520
itaiferber merged 1 commit intoswiftlang:masterfrom
itaiferber:foundation-shared-encoders

Conversation

@itaiferber
Copy link
Copy Markdown
Contributor

What's in this pull request?
Addresses SR-5277.

On encode, we previously treated every container request as a push; instead, we should allow the same container type to be requested multiple times so a class can pass its Encoder directly to its superclass if it needs to.

On encode, we previously treated every container request as a push;
instead, we should allow the same container type to be requested
multiple times so a class can pass its Encoder directly to its
superclass if it needs to.
@itaiferber
Copy link
Copy Markdown
Contributor Author

@swift-ci Please test

@itaiferber itaiferber requested a review from phausler June 23, 2017 01:10
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