Skip to content

[Serialization] Use decl mangling for local decls, not type mangling. #10022

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

Merged
merged 1 commit into from
Jun 1, 2017

Conversation

jrose-apple
Copy link
Contributor

Otherwise we get an error with local generic types. We don't need the complexity of type mangling anyway.

SR-5038 / rdar://problem/32488971

Otherwise we get an error with local generic types. We don't need the
complexity of type mangling anyway.

https://bugs.swift.org/browse/SR-5038
@jrose-apple
Copy link
Contributor Author

@swift-ci Please smoke test

@jrose-apple
Copy link
Contributor Author

@bitjammer, @nkcsgexi, @scallanan: what should I do about RemoteAST and TypeReconstruction.cpp? Both of these appear to not handle local types correctly anyway, generic or not; the former explicitly hasn't implemented it and the latter already has a test case that demonstrates it's not working.

@jrose-apple
Copy link
Contributor Author

Eagerly merging to avoid the crash, but still interested in a response to the above.

@jrose-apple jrose-apple merged commit 5d1412d into swiftlang:master Jun 1, 2017
@jrose-apple jrose-apple deleted the local-type-listing branch June 1, 2017 23:38
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.

1 participant