mirror of
https://github.com/apple/swift.git
synced 2026-02-27 18:26:24 +01:00
This removes the swiftifyProtocol function, because it fundamentally incompatible with our layering. By iterating over the protocol members of the node we are currently importing, we immediately force all members to be imported. This can lead to cycles and various hard-to-debug import failures. Instead we need to attach the extension macro when importing each invidvidual method. This will take some plumbing however, because that may happen after the protocol's macros have already been expanded, preventing later macros from being expanded. rdar://168500103