mirror of
https://github.com/nodejs/node.git
synced 2024-11-21 10:59:27 +00:00
21782277c2
This change allows for easier recognition of builtin modules in stack traces. Refs: https://github.com/nodejs/node/issues/11893 PR-URL: https://github.com/nodejs/node/pull/35498 Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Zeyu Yang <himself65@outlook.com>
8 lines
254 B
Plaintext
8 lines
254 B
Plaintext
file:///*/test/message/esm_display_syntax_error.mjs:4
|
|
await async () => 0;
|
|
^^^^^
|
|
|
|
SyntaxError: Unexpected reserved word
|
|
at Loader.moduleStrategy (node:internal/modules/esm/translators:*:*)
|
|
at async link (node:internal/modules/esm/module_job:*:*)
|