-
Notifications
You must be signed in to change notification settings - Fork 114
[swift2objc] Extensions of nested types #3258
Copy link
Copy link
Open
Labels
good first issueA good starting issue for contributors (issues with this label will appear in /contribute)A good starting issue for contributors (issues with this label will appear in /contribute)lang-swiftRelated to Swift supportRelated to Swift supportpackage:swift2objc
Milestone
Description
Currently we output extensions in the same scope as the thing they're extending. But Swift doesn't allow extensions to be nested. So if someone writes an extension of a nested type, we get invalid codegen. Instead we should pull all extensions to the top level scope.
Follow up to #3236
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
good first issueA good starting issue for contributors (issues with this label will appear in /contribute)A good starting issue for contributors (issues with this label will appear in /contribute)lang-swiftRelated to Swift supportRelated to Swift supportpackage:swift2objc
Type
Projects
Status
No status