Serialize the resilience expansion of EnumElementDecl's default arguments

This commit is contained in:
Robert Widmann
2018-03-28 12:13:25 -04:00
parent 76c264e9a1
commit 187f6c132f
3 changed files with 15 additions and 1 deletions

View File

@@ -56,7 +56,7 @@ const uint16_t VERSION_MAJOR = 0;
/// it just ensures a conflict if two people change the module format.
/// Don't worry about adhering to the 80-column limit for this line.
const uint16_t VERSION_MINOR = 405; // Last change: EnumElementDecl has a ParameterList
const uint16_t VERSION_MINOR = 406; // Last change: EnumElementDecl resilience expansion
using DeclIDField = BCFixed<31>;
@@ -1091,6 +1091,7 @@ namespace decls_block {
EnumElementRawValueKindField, // raw value kind
BCFixed<1>, // negative raw value?
IdentifierIDField, // raw value
BCFixed<1>, // default argument resilience expansion
BCVBR<5>, // number of parameter name components
BCArray<IdentifierIDField> // name components,