@@ -9,10 +9,12 @@ tests/cases/compiler/identifierStartAfterNumericLiteral.ts(6,5): error TS1124: D
99tests/cases/compiler/identifierStartAfterNumericLiteral.ts(6,6): error TS2538: Type 'null' cannot be used as an index type.
1010tests/cases/compiler/identifierStartAfterNumericLiteral.ts(7,2): error TS1351: An identifier or keyword cannot immediately follow a numeric literal.
1111tests/cases/compiler/identifierStartAfterNumericLiteral.ts(8,4): error TS1351: An identifier or keyword cannot immediately follow a numeric literal.
12+ tests/cases/compiler/identifierStartAfterNumericLiteral.ts(9,1): error TS1352: A bigint literal cannot use exponential notation.
1213tests/cases/compiler/identifierStartAfterNumericLiteral.ts(9,3): error TS1124: Digit expected.
13- tests/cases/compiler/identifierStartAfterNumericLiteral.ts(9,3): error TS2304: Cannot find name 'n'.
14+ tests/cases/compiler/identifierStartAfterNumericLiteral.ts(9,5): error TS2538: Type 'null' cannot be used as an index type.
15+ tests/cases/compiler/identifierStartAfterNumericLiteral.ts(10,1): error TS1352: A bigint literal cannot use exponential notation.
1416tests/cases/compiler/identifierStartAfterNumericLiteral.ts(10,5): error TS1124: Digit expected.
15- tests/cases/compiler/identifierStartAfterNumericLiteral.ts(10,5 ): error TS2304: Cannot find name 'n' .
17+ tests/cases/compiler/identifierStartAfterNumericLiteral.ts(10,7 ): error TS2538: Type 'null' cannot be used as an index type .
1618tests/cases/compiler/identifierStartAfterNumericLiteral.ts(11,2): error TS1351: An identifier or keyword cannot immediately follow a numeric literal.
1719tests/cases/compiler/identifierStartAfterNumericLiteral.ts(11,2): error TS2304: Cannot find name 'a'.
1820tests/cases/compiler/identifierStartAfterNumericLiteral.ts(12,4): error TS1351: An identifier or keyword cannot immediately follow a numeric literal.
@@ -35,7 +37,7 @@ tests/cases/compiler/identifierStartAfterNumericLiteral.ts(26,5): error TS1351:
3537tests/cases/compiler/identifierStartAfterNumericLiteral.ts(26,5): error TS2304: Cannot find name 'abc'.
3638
3739
38- ==== tests/cases/compiler/identifierStartAfterNumericLiteral.ts (35 errors) ====
40+ ==== tests/cases/compiler/identifierStartAfterNumericLiteral.ts (37 errors) ====
3941 let valueIn = 3in[null];
4042 ~~
4143!!! error TS1351: An identifier or keyword cannot immediately follow a numeric literal.
@@ -67,15 +69,19 @@ tests/cases/compiler/identifierStartAfterNumericLiteral.ts(26,5): error TS2304:
6769 ~~
6870!!! error TS1351: An identifier or keyword cannot immediately follow a numeric literal.
6971 3en[null]
72+ ~~~
73+ !!! error TS1352: A bigint literal cannot use exponential notation.
7074
7175!!! error TS1124: Digit expected.
72- ~
73- !!! error TS2304: Cannot find name 'n' .
76+ ~~~ ~
77+ !!! error TS2538: Type 'null' cannot be used as an index type .
7478 123en[null]
79+ ~~~~~
80+ !!! error TS1352: A bigint literal cannot use exponential notation.
7581
7682!!! error TS1124: Digit expected.
77- ~
78- !!! error TS2304: Cannot find name 'n' .
83+ ~~~ ~
84+ !!! error TS2538: Type 'null' cannot be used as an index type .
7985 1a
8086 ~
8187!!! error TS1351: An identifier or keyword cannot immediately follow a numeric literal.
0 commit comments