Skip to content

Commit a347dce

Browse files
committed
Serialization: Actually set VarDecl::isLazyStorageProperty() when deserializing
1 parent 04eef65 commit a347dce

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/Serialization/Deserialization.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2858,6 +2858,8 @@ class swift::DeclDeserializer {
28582858
LazyStoragePropertyRequest{var}, std::move(storage));
28592859
}
28602860

2861+
var->setLazyStorageProperty(isLazyStorageProperty);
2862+
28612863
// If there are any backing properties, record them.
28622864
if (numBackingProperties > 0) {
28632865
VarDecl *backingVar = cast<VarDecl>(MF.getDecl(backingPropertyIDs[0]));

0 commit comments

Comments
 (0)