mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Try a little harder to avoid printing empty extensions by seeing if any of the inherited protocols are actually going to be printed. Previously this just made things a little prettier, but with implementation-only imports it's a correctness issue, since there may be extensions of implementation-only types that do in fact conform to non-public protocols. rdar://problem/50748072
17 KiB
17 KiB