-
Notifications
You must be signed in to change notification settings - Fork 10.5k
[ModuleInterfaces] Escape Type
and Protocol
when module-qualifying
#27065
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
[ModuleInterfaces] Escape Type
and Protocol
when module-qualifying
#27065
Conversation
@swift-ci please smoke test |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have one small documentation change you definitely need to make; the rest I could be wrong about.
c59a128
to
8109832
Compare
If we see `MyModule.Type`, the parser thinks this is a metatype type. Escape the name `Type` so the parser can recognize it's a type name. Fixes [SR-11422](https://bugs.swift.org/browse/SR-11422) rdar://55094784
8109832
to
2893d96
Compare
@brentdax How's it look now? |
@swift-ci please test |
Build failed |
Build failed |
If we see
MyModule.Type
, the parser thinks this is a metatype type.Escape the name
Type
andProtocol
so the parser can recognize they're type names.Fixes #53823
Fixes rdar://55094784