mirror of
https://github.com/zebrajr/node.git
synced 2026-01-15 12:15:26 +00:00
There are some changes for function names in stack traces. PR-URL: https://github.com/nodejs/node/pull/42657 Reviewed-By: Darshan Sen <raisinten@gmail.com> Reviewed-By: Richard Lau <rlau@redhat.com> Reviewed-By: Jiawen Geng <technicalcute@gmail.com> Reviewed-By: Michael Dawson <midawson@redhat.com>
32 lines
1.2 KiB
Plaintext
32 lines
1.2 KiB
Plaintext
beginning
|
|
foo.vm:1
|
|
var 4;
|
|
^
|
|
SyntaxError: Unexpected number
|
|
at new Script (node:vm:*)
|
|
at createScript (node:vm:*)
|
|
at Object.runInThisContext (node:vm:*)
|
|
at Object.<anonymous> (*test*message*vm_display_syntax_error.js:*)
|
|
at Module._compile (node:internal/modules/cjs/loader:*)
|
|
at Module._extensions..js (node:internal/modules/cjs/loader:*)
|
|
at Module.load (node:internal/modules/cjs/loader:*)
|
|
at Module._load (node:internal/modules/cjs/loader:*)
|
|
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:*)
|
|
at node:internal/main/run_main_module:*:*
|
|
test.vm:1
|
|
var 5;
|
|
^
|
|
SyntaxError: Unexpected number
|
|
at new Script (node:vm:*)
|
|
at createScript (node:vm:*)
|
|
at Object.runInThisContext (node:vm:*)
|
|
at Object.<anonymous> (*test*message*vm_display_syntax_error.js:*)
|
|
at Module._compile (node:internal/modules/cjs/loader:*)
|
|
at Module._extensions..js (node:internal/modules/cjs/loader:*)
|
|
at Module.load (node:internal/modules/cjs/loader:*)
|
|
at Module._load (node:internal/modules/cjs/loader:*)
|
|
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:*)
|
|
at node:internal/main/run_main_module:*:*
|
|
|
|
Node.js *
|