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

Amend SE-0364 to make the wording stronger #2470

Conversation

harlanhaskins
Copy link
Contributor

This removes "considered" and expands a bit on why same-package conformances will be non-retroactive, once duplicate conformances are able to become link errors.

@harlanhaskins
Copy link
Contributor Author

I can amend further if we don't think the duplicate symbol will be detectable at link time, and will instead be detected at load-time.

@tshortli
Copy link
Contributor

tshortli commented May 29, 2024

In the following package structure, where B and C are dylibs and the dependency from B to C is internal/@_implementationOnly, overlapping conformances in A and C can only be detected at load time I think:

graph LR;
    A-->B;
    B-->C;
Loading

@stephentyrone stephentyrone merged commit 3f0d0cd into swiftlang:main Jun 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants