Another repair to diagnostic fixup
This commit is contained in:
parent
fec72f1269
commit
fe78147cb8
|
@ -202,6 +202,12 @@ function runBuildOnce(options: CommandLineArguments): boolean {
|
|||
syntheticSourceFiles.set(d.file.fileName, sf);
|
||||
}
|
||||
d.file = syntheticSourceFiles.get(d.file.fileName);
|
||||
|
||||
if (!('__syndicate_translated__' in d)) {
|
||||
const p = info.targetToSourceMap.get(d.start)!;
|
||||
d.start = p.firstItem.start.pos + p.offset;
|
||||
(d as any).__syndicate_translated__ = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue