[GenericEnvironment] For opened pack element environments, only include element type

parameters whose originating packs are in a given shape equivalence class.
This commit is contained in:
Holly Borla
2023-01-07 00:39:48 -08:00
parent 715de13dbf
commit 2d893d23bf
11 changed files with 86 additions and 28 deletions

View File

@@ -1759,7 +1759,7 @@ namespace decls_block {
using GenericEnvironmentLayout = BCRecordLayout<
GENERIC_ENVIRONMENT,
BCFixed<1>, // GenericEnvironmentKind
TypeIDField, // existential type
TypeIDField, // existential type or shape class
GenericSignatureIDField, // parent signature
SubstitutionMapIDField // substitution map
>;