mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Upon seeing an extension for a type outside the current module, the digester creates a dummy type node and puts all the extensions’ members and conformances in that type. This allows us to track new API endpoints that are retroactively added. Unfortunately, if there are no public members/conformances (only internal or private ones), the type itself ends up in the SDK dump without any public children. This causes an issue when you dump the SDK from a parseable interface, where the internal extension was not printed.
66 KiB
66 KiB