Skip to content

Revert "AST: Print opaque result types correctly in swiftinterfaces." #78745

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
Jan 20, 2025

Conversation

tshortli
Copy link
Contributor

This reverts #77550 because that fix exposed a different existing bug in opaque type result printing where generic archetypes are not consistently resugared on stable addresses, yielding unparsable swiftinterfaces. Reverting this fix returns interface printing to the status quo in which the interfaces are parseable but incorrect (with some P printed where @_opaqueReturnTypeOf() is actually necessary).

@tshortli
Copy link
Contributor Author

@swift-ci please smoke test

@tshortli tshortli enabled auto-merge January 19, 2025 18:03
@tshortli
Copy link
Contributor Author

@swift-ci please smoke test Windows

@tshortli tshortli merged commit a48f498 into swiftlang:main Jan 20, 2025
3 checks passed
@tshortli tshortli deleted the revert-77550 branch January 21, 2025 01:31
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