mirror of
https://github.com/nodejs/node.git
synced 2024-12-01 16:10:02 +01:00
99ad0561c0
1. The net changes add a stack frame to stdin errors. 2. The error line numbers were overly strict in many places.
59 lines
1.3 KiB
Plaintext
59 lines
1.3 KiB
Plaintext
[eval]
|
|
|
|
[eval]:1
|
|
with(this){__filename}
|
|
^^^^
|
|
SyntaxError: Strict mode code may not include a with statement
|
|
at Object.<anonymous> ([eval]-wrapper:*:*)
|
|
at Module._compile (module.js:*:*)
|
|
at evalScript (node.js:*:*)
|
|
at startup (node.js:*:*)
|
|
at node.js:*:*
|
|
42
|
|
42
|
|
|
|
[eval]:1
|
|
throw new Error("hello")
|
|
^
|
|
Error: hello
|
|
at [eval]:1:7
|
|
at Object.<anonymous> ([eval]-wrapper:*:*)
|
|
at Module._compile (module.js:*:*)
|
|
at evalScript (node.js:*:*)
|
|
at startup (node.js:*:*)
|
|
at node.js:*:*
|
|
|
|
[eval]:1
|
|
throw new Error("hello")
|
|
^
|
|
Error: hello
|
|
at [eval]:1:7
|
|
at Object.<anonymous> ([eval]-wrapper:*:*)
|
|
at Module._compile (module.js:*:*)
|
|
at evalScript (node.js:*:*)
|
|
at startup (node.js:*:*)
|
|
at node.js:*:*
|
|
100
|
|
|
|
[eval]:1
|
|
var x = 100; y = x;
|
|
^
|
|
ReferenceError: y is not defined
|
|
at [eval]:1:16
|
|
at Object.<anonymous> ([eval]-wrapper:*:*)
|
|
at Module._compile (module.js:*:*)
|
|
at evalScript (node.js:*:*)
|
|
at startup (node.js:*:*)
|
|
at node.js:*:*
|
|
|
|
[eval]:1
|
|
var ______________________________________________; throw 10
|
|
^
|
|
10
|
|
|
|
[eval]:1
|
|
var ______________________________________________; throw 10
|
|
^
|
|
10
|
|
done
|