Skip to content

Commit 76950f3

Browse files
committed
[noimplicitcopy] Be sure to register SILMoveOnlyWrappedTypeLayout with the AST serialization machinery.
This looks like a thinko from the early part of the implementation. Without this, the machinery doesn't recognize the layout and just asserts. (cherry picked from commit 508866a)
1 parent 9e18031 commit 76950f3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/Serialization/Serialization.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5633,6 +5633,7 @@ void Serializer::writeAllDeclsAndTypes() {
56335633
registerDeclTypeAbbr<BoundGenericTypeLayout>();
56345634
registerDeclTypeAbbr<GenericFunctionTypeLayout>();
56355635
registerDeclTypeAbbr<SILBlockStorageTypeLayout>();
5636+
registerDeclTypeAbbr<SILMoveOnlyWrappedTypeLayout>();
56365637
registerDeclTypeAbbr<SILBoxTypeLayout>();
56375638
registerDeclTypeAbbr<SILFunctionTypeLayout>();
56385639
registerDeclTypeAbbr<ArraySliceTypeLayout>();

0 commit comments

Comments
 (0)