Skip to content

Commit caa7441

Browse files
Accepted baselines.
1 parent 2999a1e commit caa7441

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/baselines/reference/numericLiteralsWithTrailingDecimalPoints02.errors.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
tests/cases/compiler/numericLiteralsWithTrailingDecimalPoints02.ts(3,3): error TS1005: ';' expected.
2-
tests/cases/compiler/numericLiteralsWithTrailingDecimalPoints02.ts(9,15): error TS1005: ',' expected.
1+
tests/cases/compiler/numericLiteralsWithTrailingDecimalPoints02.ts(3,3): error TS1351: An identifier or keyword cannot immediately follow a numeric literal.
2+
tests/cases/compiler/numericLiteralsWithTrailingDecimalPoints02.ts(9,15): error TS1351: An identifier or keyword cannot immediately follow a numeric literal.
33
tests/cases/compiler/numericLiteralsWithTrailingDecimalPoints02.ts(9,23): error TS1005: ',' expected.
44
tests/cases/compiler/numericLiteralsWithTrailingDecimalPoints02.ts(9,24): error TS1109: Expression expected.
55

@@ -9,15 +9,15 @@ tests/cases/compiler/numericLiteralsWithTrailingDecimalPoints02.ts(9,24): error
99
1.0.toString();
1010
1.toString();
1111
~~~~~~~~
12-
!!! error TS1005: ';' expected.
12+
!!! error TS1351: An identifier or keyword cannot immediately follow a numeric literal.
1313
1.+2.0 + 3. ;
1414

1515
// Preserve whitespace where important for JS compatibility
1616
var i: number = 1;
1717
var test1 = i.toString();
1818
var test2 = 2.toString();
1919
~~~~~~~~
20-
!!! error TS1005: ',' expected.
20+
!!! error TS1351: An identifier or keyword cannot immediately follow a numeric literal.
2121
~
2222
!!! error TS1005: ',' expected.
2323
~

0 commit comments

Comments
 (0)