Skip to content
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

Sema: Fix missing source loc in actor isolation diagnostics around @dynamicMemberLookup key paths #78871

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

Conversation

AnthonyLatsis
Copy link
Collaborator

@AnthonyLatsis AnthonyLatsis commented Jan 23, 2025

rdar://129310334

This is a targeted fix. The takeaway is that implicit != no source location.

@AnthonyLatsis
Copy link
Collaborator Author

@swift-ci please smoke test macOS

Copy link
Contributor

@xedin xedin left a comment

Choose a reason for hiding this comment

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

I think it's the same situation as implicit vs. implicit + synthesized specially visible in derived synthesis related changes, we might want to consider splitting API into forImplicitSingle that always has a loc and forSynthesizedSingle that can default an an empty one.

@xedin
Copy link
Contributor

xedin commented Jan 24, 2025

@swift-ci please test macOS platform

@xedin xedin requested a review from hamishknight January 24, 2025 08:11
Copy link
Contributor

@Xazax-hun Xazax-hun left a comment

Choose a reason for hiding this comment

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

Importer change looks good to me.

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.

3 participants