Ensure 'isStatic' bit of PatternBindingDecls is always initialized.

And that it gets serialized.

Swift SVN r10382
This commit is contained in:
Joe Groff
2013-11-12 23:12:16 +00:00
parent 6d30835aac
commit b06afcbf55
4 changed files with 9 additions and 5 deletions

View File

@@ -681,7 +681,8 @@ namespace decls_block {
using PatternBindingLayout = BCRecordLayout<
PATTERN_BINDING_DECL,
DeclIDField, // context decl
BCFixed<1> // implicit flag
BCFixed<1>, // implicit flag
BCFixed<1> // static?
// The pattern trails the record.
>;