Skip to content

Commit 508866a

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.
1 parent f88fa66 commit 508866a

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
@@ -5645,6 +5645,7 @@ void Serializer::writeAllDeclsAndTypes() {
56455645
registerDeclTypeAbbr<BoundGenericTypeLayout>();
56465646
registerDeclTypeAbbr<GenericFunctionTypeLayout>();
56475647
registerDeclTypeAbbr<SILBlockStorageTypeLayout>();
5648+
registerDeclTypeAbbr<SILMoveOnlyWrappedTypeLayout>();
56485649
registerDeclTypeAbbr<SILBoxTypeLayout>();
56495650
registerDeclTypeAbbr<SILFunctionTypeLayout>();
56505651
registerDeclTypeAbbr<ArraySliceTypeLayout>();

0 commit comments

Comments
 (0)