deno/cli/tests/standalone_error.ts
Bartek Iwańczuk f49d955601
fix(compile): disable source mapping of errors (#8581)
This commit disables source mapping of errors
for standalone binaries. Since applying source
maps relies on using file fetcher infrastructure
it's not feasible to use it for standalone binaries
that are not supposed to use that infrastructure.
2020-12-01 23:33:44 +01:00

10 lines
86 B
TypeScript

function boom() {
throw new Error("boom!");
}
function foo() {
boom();
}
foo();