Skip to content

Make initial changes for module selectors #81459

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

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

beccadax
Copy link
Contributor

Some baby steps towards module selectors (#34556):

  • Add the experimental feature.
  • Stub out changes to DeclNameRef's API.
  • Refactor the serialization of four attributes that contain DeclNameRefs.
    • This makes all four of them serialize an optional DeclNameRef in the same way, using a separate record. Previously each of the four serialized its DeclNameRef in a different, ad-hoc manner, often lossily.

These changes have been separated out because they're easy to do early and relatively likely to cause merge conflicts.

beccadax added 4 commits May 12, 2025 15:22
It will soon need to allocate sometimes.
There are four attributes which serialize out a DeclNameRef, sometimes by dropping some of its components. Standardize them with a representation that can handle module selectors.
@beccadax beccadax enabled auto-merge May 12, 2025 23:20
@beccadax
Copy link
Contributor Author

@swift-ci please test

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