We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7497d81 commit 4c581deCopy full SHA for 4c581de
1 file changed
src/compiler/scanner.ts
@@ -1190,7 +1190,7 @@ namespace ts {
1190
}
1191
1192
function scanBinaryOrOctalDigits(base: number): number {
1193
- Debug.assert(base !== 2 || base !== 8, "Expected either base 2 or base 8");
+ Debug.assert(base === 2 || base === 8, "Expected either base 2 or base 8");
1194
1195
let value = 0;
1196
// For counting number of digits; Valid binaryIntegerLiteral must have at least one binary digit following B or b.
0 commit comments