12 lines
411 B
JavaScript
12 lines
411 B
JavaScript
|
|
// Flags: --enable-source-maps
|
||
|
|
import '../../../common/index.mjs';
|
||
|
|
class Foo {
|
||
|
|
constructor() {
|
||
|
|
throw new Error('message');
|
||
|
|
}
|
||
|
|
}
|
||
|
|
new Foo();
|
||
|
|
// To recreate:
|
||
|
|
//
|
||
|
|
// npx --package typescript tsc --module nodenext --target esnext --outDir test/fixtures/source-map/output --sourceMap test/fixtures/source-map/output/source_map_throw_construct.mts
|
||
|
|
//# sourceMappingURL=source_map_throw_construct.mjs.map
|