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 2f84741 commit c156c93Copy full SHA for c156c93
src/compiler/sourcemap.ts
@@ -583,6 +583,8 @@ namespace ts {
583
}
584
585
function compareSourcePositions(left: SourceMappedPosition, right: SourceMappedPosition) {
586
+ // Compares sourcePosition without comparing sourceIndex
587
+ // since the mappings are grouped by sourceIndex
588
Debug.assert(left.sourceIndex === right.sourceIndex);
589
return compareValues(left.sourcePosition, right.sourcePosition);
590
0 commit comments