Skip to content

Commit 404697a

Browse files
committed
Fix error type when trying to convert int64 param
1 parent 6a8a129 commit 404697a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/Runtime/Language/AsmJsUtils.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ namespace Js
238238
if (!allowTestInputs)
239239
#endif
240240
{
241-
JavascriptError::ThrowWebAssemblyRuntimeError(scriptContext, WASMERR_InvalidTypeConversion);
241+
JavascriptError::ThrowTypeError(scriptContext, WASMERR_InvalidTypeConversion);
242242
}
243243

244244
#if ENABLE_DEBUG_CONFIG_OPTIONS

0 commit comments

Comments
 (0)