We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 54cd16d commit 5cd809eCopy full SHA for 5cd809e
1 file changed
lib/Runtime/ByteCode/ByteCodeSerializer.cpp
@@ -2609,7 +2609,8 @@ class ByteCodeBufferReader
2609
expectedFileVersionScheme = (byte)Js::Configuration::Global.flags.ForceSerializedBytecodeVersionSchema;
2610
}
2611
#endif
2612
- if (fileVersionScheme != expectedFileVersionScheme)
+ // Ignore the version scheme check if it is library code
2613
+ if (!isLibraryCode && fileVersionScheme != expectedFileVersionScheme)
2614
{
2615
// File version scheme is incompatible.
2616
return ByteCodeSerializer::InvalidByteCode;
0 commit comments