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

[Serialization] Factor TypeSerializer out of writeType #25043

Merged
merged 4 commits into from May 24, 2019

Conversation

jrose-apple
Copy link
Contributor

Like #25005 but for types instead of decls; also like #22666 but for serialization instead of deserialization. No functionality change.

Like the recent change for DeclSerializer. No functionality change,
just making it easier to read.
...and carry no other information (besides their record code).
No functionality change.
...well, at least a little more than before. This /still/ isn't as
strong as the switch that used to be here because a subtype of an
existing Decl or Type won't show up, but that's probably still worth
the maintainability (and backtrace) tradeoff.
@jrose-apple
Copy link
Contributor Author

@swift-ci Please test

@swift-ci
Copy link
Collaborator

Build failed
Swift Test OS X Platform
Git Sha - 6296a0e

@jrose-apple
Copy link
Contributor Author

@swift-ci Please test macOS

@jrose-apple jrose-apple merged commit f6ee2c7 into apple:master May 24, 2019
@jrose-apple jrose-apple deleted the TypeSerializer branch May 24, 2019 18:06
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.

None yet

3 participants