-
Notifications
You must be signed in to change notification settings - Fork 10.5k
swift-module-digester: always canonicalize super class types. #19590
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
swift-module-digester: always canonicalize super class types. #19590
Conversation
@swift-ci please smoke test |
Do you canonicalize all types, or just superclasses? |
We canonicalize all types when checking ABI stability. This patch is to canonicalize super class type names disregarding of checking ABI or source compatibility. |
@swift-ci please smoke test |
@nkcsgexi Why do you need to canonicalize superclass types but not other types when checking API stability? |
Because synthesizing type alias of the same name with an old type is an api-notes' way to maintain source-compatibility for many frameworks. |
@nkcsgexi I see, so its specific to imported modules? Maybe you should conditionalize the check on that hten. |
yeah, i think it's specific to imported module. Since we'll deploy ABI checker for Swift modules with all types canonicalized, i'm not sure it's useful to introduce another flag. |
@swift-ci please smoke test |
No description provided.