Skip to content

Commit ab93f23

Browse files
committed
[[ Script ]] Add MCScriptForeignType to variant for pickling of module.
1 parent e8798b2 commit ab93f23

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

libscript/src/script-module.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ MC_PICKLE_END_RECORD()
4343

4444
MC_PICKLE_BEGIN_VARIANT(MCScriptType, kind)
4545
MC_PICKLE_VARIANT_CASE(kMCScriptTypeKindDefined, MCScriptDefinedType)
46+
MC_PICKLE_VARIANT_CASE(kMCScriptTypeKindForeign, MCScriptForeignType)
4647
MC_PICKLE_VARIANT_CASE(kMCScriptTypeKindOptional, MCScriptOptionalType)
4748
MC_PICKLE_VARIANT_CASE(kMCScriptTypeKindHandler, MCScriptHandlerType)
4849
MC_PICKLE_VARIANT_CASE(kMCScriptTypeKindRecord, MCScriptRecordType)

0 commit comments

Comments
 (0)