mirror of
https://github.com/zebrajr/node.git
synced 2026-01-15 12:15:26 +00:00
Dynamic sources with FunctionConstructor is not supported yet as V8 prepends lines to the sources which makes the stack line number incorrect. PR-URL: https://github.com/nodejs/node/pull/43428 Refs: https://github.com/nodejs/node/issues/43047 Reviewed-By: Ben Coe <bencoe@gmail.com>
9 lines
203 B
JavaScript
9 lines
203 B
JavaScript
// Flags: --enable-source-maps
|
|
|
|
'use strict';
|
|
require('../common');
|
|
const fs = require('fs');
|
|
|
|
const content = fs.readFileSync(require.resolve('../fixtures/source-map/tabs.js'), 'utf8');
|
|
eval(content);
|