mirror of
https://github.com/apple/swift.git
synced 2025-12-25 12:15:36 +01:00
Sema was dutifully tracking conformances that were "used" as part of type checking, so it could make sure that those conformances got completed for SILGen to use. However, this information never actually made it to SILGen, which included its own (more conservative, not broad enough) heuristics for finding "used" conformances. Teach Sema to record conformances within the appropriate source file, and have SILGen reference the conformances when it emits SIL for the source file.
44 KiB
44 KiB