mirror of
https://github.com/nodejs/node.git
synced 2024-11-25 08:19:38 +01:00
be577615c8
Moving `try / catch` into separate functions is not necessary anymore due to V8 optimizations. PR-URL: https://github.com/nodejs/node/pull/26970 Refs: https://github.com/nodejs/node/pull/25362 Reviewed-By: Guy Bedford <guybedford@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
18 lines
605 B
Plaintext
18 lines
605 B
Plaintext
beginning
|
|
middle
|
|
test.vm:1
|
|
var 5;
|
|
^
|
|
|
|
SyntaxError: Unexpected number
|
|
at new Script (vm.js:*)
|
|
at createScript (vm.js:*)
|
|
at Object.runInThisContext (vm.js:*)
|
|
at Object.<anonymous> (*test*message*vm_dont_display_syntax_error.js:*)
|
|
at Module._compile (internal/modules/cjs/loader.js:*)
|
|
at Object.Module._extensions..js (internal/modules/cjs/loader.js:*)
|
|
at Module.load (internal/modules/cjs/loader.js:*)
|
|
at Function.Module._load (internal/modules/cjs/loader.js:*)
|
|
at Function.Module.runMain (internal/modules/cjs/loader.js:*)
|
|
at internal/main/run_main_module.js:*:*
|