Skip to content

AST: Print opaque result types correctly in swiftinterfaces #77550

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
Nov 12, 2024

Conversation

tshortli
Copy link
Contributor

Fixes a bug where references to the opaque types of other decls were printed with the some Type syntax, breaking the interface. Only the opaque type introduced by a declaration should be printed with the some Type syntax; other opaque types must always be printed as a stable addresses instead.

Resolves rdar://134582913.

Fixes a bug where references to the opaque types of other decls were printed
with the `some Type` syntax, breaking the interface. Only the opaque type
introduced by a declaration should be printed with the `some Type` syntax;
other opaque types must always be printed as a stable addresses instead.

Resolves rdar://134582913.
@tshortli
Copy link
Contributor Author

@swift-ci please smoke test

@tshortli tshortli merged commit 0b4693d into swiftlang:main Nov 12, 2024
3 checks passed
@tshortli tshortli deleted the opaque-return-type-printing branch November 12, 2024 15:20
tshortli added a commit that referenced this pull request Jan 9, 2025
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