Serialize opaque return type of var/subscript decls.

This commit is contained in:
Joe Groff
2019-04-16 15:08:23 -07:00
parent 0fcc7cdac0
commit b57f35220e
5 changed files with 33 additions and 2 deletions

View File

@@ -1039,6 +1039,7 @@ namespace decls_block {
DeclIDField, // overridden decl
AccessLevelField, // access level
AccessLevelField, // setter access, if applicable
DeclIDField, // opaque return type decl
BCArray<TypeIDField> // accessors and dependencies
>;
@@ -1198,6 +1199,7 @@ namespace decls_block {
AccessLevelField, // setter access, if applicable
StaticSpellingKindField, // is subscript static?
BCVBR<5>, // number of parameter name components
DeclIDField, // opaque return type decl
BCArray<IdentifierIDField> // name components,
// followed by DeclID accessors,
// followed by TypeID dependencies