mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
SILFunctions no longer have a GenericParamList, so all of these circularity and ordering problems are gone. We *do* deserialize the generic parameters before creating decls that have them though, so serialize generic parameters as if their DeclContext was the DeclContext of the owner decl. This is what we do when we parse generic parameters too; in both cases, the constructor for the owner decl gives the generic parameters the right DeclContext.
30 KiB
30 KiB