mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
When users try to print the interface of a specific type (most often through cursor infor query of SourceKit), we should simplify the original decls by replacing archetypes with instantiated types, hiding extension details, and omitting unfulfilled extension requirements. So the users can get the straight-to-the-point "type interface". This commit builds the testing infrastructure for this feature, and implements the first trick that wraps extension contents into the interface body. This commit also moves some generic testing support from SourceKit to Swift. Swift SVN r32630
14 KiB
14 KiB