mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Fixes a regression in the source compatibility suite which I had a lot of trouble extracting into a separate test case. Most of this patch is just moving the outlining code into a separate file and organizing it into a helper class instead of copy/pasting so much code. The main functional change is implicit in the difference between collecting formal metadata and collecting it for layout, which then is exploited in bindMetadataParameters. As a secondary change, stop collecting metadata for class-bounded archetypes; we don't actually need it to do value operations.
2.4 KiB
2.4 KiB