Skip to content

Conversation

@tshortli
Copy link
Contributor

@tshortli tshortli commented Apr 3, 2024

Adoption of the #isolation macro as a default argument in the standard library exposed that the availbility of contents of default argument macro expansions were being mis-diagnosed. The nodes for auxilary files generated for default argument expansions were not being added to the enclosing file's TypeRefinementContext hierarchy, so the contents of the expansion would be diagnosed as if it were located in a context with the minimum availability for the compilation.

Resolves rdar://125812256

Adoption of the `#isolation` macro as a default argument in the standard
library exposed that the availbility of contents of default argument macro
expansions were being mis-diagnosed. The nodes for auxilary files generated for
default argument expansions were not being added to the enclosing file's
`TypeRefinementContext` hierarchy, so the contents of the expansion would be
diagnosed as if it were located in a context with the minimum availability for
the compilation.

Resolves rdar://125812256
@tshortli tshortli force-pushed the isolation-macro-availability branch from 86c1aa2 to 9058601 Compare April 3, 2024 20:48
@tshortli
Copy link
Contributor Author

tshortli commented Apr 3, 2024

@swift-ci please test

Copy link
Contributor

@ktoso ktoso left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great, thank you!

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.

2 participants