mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Track whether a PatternBindingDecl theoretically
declares storage or not. Swift SVN r12942
This commit is contained in:
@@ -1044,7 +1044,8 @@ void Serializer::writeDecl(const Decl *D) {
|
||||
unsigned abbrCode = DeclTypeAbbrCodes[PatternBindingLayout::Code];
|
||||
PatternBindingLayout::emitRecord(Out, ScratchRecord, abbrCode,
|
||||
addDeclRef(DC), binding->isImplicit(),
|
||||
binding->isStatic());
|
||||
binding->isStatic(),
|
||||
binding->hasStorage());
|
||||
|
||||
writePattern(binding->getPattern());
|
||||
// Ignore initializer; external clients don't need to know about it.
|
||||
|
||||
Reference in New Issue
Block a user