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 fcdd5bd commit 65561a8Copy full SHA for 65561a8
src/services/classifier.ts
@@ -500,7 +500,7 @@ namespace ts {
500
501
function pushClassification(start: number, end: number, type: ClassificationType): void {
502
const length = end - start;
503
- Debug.assert(length >= 0, `Classification had non-positive length of ${length}`);
+ Debug.assert(length > 0, `Classification had non-positive length of ${length}`);
504
spans.push(start);
505
spans.push(length);
506
spans.push(type);
0 commit comments