Skip to content

Work around a compiler crash trying to demangle an expression macro inside an attached macro expansion. #754

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
Oct 7, 2024

Conversation

grynspan
Copy link
Contributor

@grynspan grynspan commented Oct 7, 2024

We've started getting a crash expanding a test where #_sourceLocation is explicitly written inside the arguments array.

Works around rdar://137450977.

Checklist:

  • Code and documentation should follow the style of the Style Guide.
  • If public symbols are renamed or modified, DocC references should be updated.

…nside an attached macro expansion.

We've started getting a crash expanding a test where `#_sourceLocation` is
explicitly written inside the arguments array.

Works around rdar://137450977.
@grynspan grynspan added bug 🪲 Something isn't working workaround Workaround for an issue in another component (may need to revert later) labels Oct 7, 2024
@grynspan grynspan self-assigned this Oct 7, 2024
@grynspan
Copy link
Contributor Author

grynspan commented Oct 7, 2024

@swift-ci test

@grynspan grynspan added this to the Swift 6.1 milestone Oct 7, 2024
@grynspan grynspan merged commit 0f37af2 into main Oct 7, 2024
3 checks passed
@grynspan grynspan deleted the jgrynspan/compiler-crash-workaround-2024-10-07 branch October 7, 2024 21:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🪲 Something isn't working workaround Workaround for an issue in another component (may need to revert later)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants