Skip to content

[Frontend/ConstraintSystem] NFC: SE-0438 implementation enhancements #77302

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 3 commits into from
Nov 1, 2024

Conversation

xedin
Copy link
Contributor

@xedin xedin commented Oct 30, 2024

Now that we have -interface-compiler-version option introduced by #77216
and corresponding way to detect that in .swiftmodule we can switch over to use that instead of a flag and provide
a custom diagnostic that instructs users to rebuild affected modules before feature can be used.

xedin added 3 commits October 30, 2024 10:53
…c members

Replaces feature flag check with module compiler version check
which implements the behavior discussed in the SE-0438.
…atic member references

Libraries of modules built with older compilers (< 6.1) don't have
symbols required to enable staitc member support in key path context.
This is a temporary way to land SE-0438 changes without disrupting
anything else.
@xedin
Copy link
Contributor Author

xedin commented Oct 30, 2024

cc @amritpan

@xedin
Copy link
Contributor Author

xedin commented Oct 30, 2024

@swift-ci please test

@xedin
Copy link
Contributor Author

xedin commented Oct 31, 2024

@swift-ci please test windows platform

1 similar comment
@xedin
Copy link
Contributor Author

xedin commented Oct 31, 2024

@swift-ci please test windows platform

@xedin xedin merged commit d721b6e into swiftlang:main Nov 1, 2024
5 checks passed
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