We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2778765 commit 040b9d4Copy full SHA for 040b9d4
src/vm/js/nqp-runtime/core.js
@@ -691,14 +691,6 @@ class JavaScriptCompiler extends NQPObject {
691
692
// HACK
693
sourceMaps[fakeFilename] = new SourceMapConsumer(node.toStringWithSourceMap({file: fakeFilename}).map.toString());
694
-
695
- const jsProps = charProps(codeStr);
696
- const p6Props = charProps(nqp.toStr(_NAMED['p6-source'], ctx));
697
698
- sourceMaps[fakeFilename].eachMapping(m => {
699
- m.generatedPos = jsProps.indexAt({line: m.generatedLine, column: m.generatedColumn});
700
- m.originalPos = p6Props.indexAt({line: m.originalLine, column: m.originalColumn});
701
- }, undefined, SourceMapConsumer.GENERATED_ORDER);
702
}
703
704
const script = new Script(preamble + codeStr, {filename: fakeFilename});
0 commit comments