$ node test.js
sample.js:3
boom;
^
ReferenceError: boom is not defined
at sample.js:3:1
(irrelevant bits of stack)
bun
$ bun run test.js
ReferenceError: Can't find variable: boom
at eval code (:1:5)
(irrelevant bits of stack)
What is the expected behavior?
Instead of outputting the provided file name and using the provided line shift like node and printing at sample.js:3:1, Bun prints at eval code (:1:5).
What version of Bun is running?
1.0.1+31aec4ebe325982fc0ef27498984b0ad9969162b
What platform is your computer?
Darwin 21.6.0 x86_64 i386
What steps can reproduce the bug?
test.js
node
bun
What is the expected behavior?
Instead of outputting the provided file name and using the provided line shift like node and printing
at sample.js:3:1
, Bun printsat eval code (:1:5)
.What do you see instead?
No response
Additional information
No response