From d22df6e1ffcf9fb5e4acfd7a66d091eb129fb94b Mon Sep 17 00:00:00 2001 From: xTrayambak Date: Wed, 11 Dec 2024 21:10:03 +0530 Subject: [PATCH] (fix) interpreter: don't quit with arbitrary exit code on failure --- src/bali/runtime/interpreter.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bali/runtime/interpreter.nim b/src/bali/runtime/interpreter.nim index 2e92503..5d1c4f0 100644 --- a/src/bali/runtime/interpreter.nim +++ b/src/bali/runtime/interpreter.nim @@ -872,7 +872,7 @@ proc run*(runtime: Runtime) = setDeathCallback( proc(vm: PulsarInterpreter, exitCode: int) = if vm.trace.exception.message.contains(runtime.test262.negative.`type`): - quit(44) + quit(1) else: quit(0) )