Skip to content

Commit 47d34cb

Browse files
committed
Accept baselines
1 parent 6876d98 commit 47d34cb

13 files changed

+721
-685
lines changed

src/parser/diagnosticInformationMap.generated.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1103,5 +1103,8 @@ namespace ts {
11031103
Convert_0_to_mapped_object_type: diag(95055, DiagnosticCategory.Message, "Convert_0_to_mapped_object_type_95055", "Convert '{0}' to mapped object type"),
11041104
Convert_namespace_import_to_named_imports: diag(95056, DiagnosticCategory.Message, "Convert_namespace_import_to_named_imports_95056", "Convert namespace import to named imports"),
11051105
Convert_named_imports_to_namespace_import: diag(95057, DiagnosticCategory.Message, "Convert_named_imports_to_namespace_import_95057", "Convert named imports to namespace import"),
1106+
Add_or_remove_braces_in_an_arrow_function: diag(95058, DiagnosticCategory.Message, "Add_or_remove_braces_in_an_arrow_function_95058", "Add or remove braces in an arrow function"),
1107+
Add_braces_to_arrow_function: diag(95059, DiagnosticCategory.Message, "Add_braces_to_arrow_function_95059", "Add braces to arrow function"),
1108+
Remove_braces_from_arrow_function: diag(95060, DiagnosticCategory.Message, "Remove_braces_from_arrow_function_95060", "Remove braces from arrow function"),
11061109
};
11071110
}

src/parser/diagnosticMessages.generated.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1094,5 +1094,8 @@
10941094
"Remove_all_unused_labels_95054" : "Remove all unused labels",
10951095
"Convert_0_to_mapped_object_type_95055" : "Convert '{0}' to mapped object type",
10961096
"Convert_namespace_import_to_named_imports_95056" : "Convert namespace import to named imports",
1097-
"Convert_named_imports_to_namespace_import_95057" : "Convert named imports to namespace import"
1097+
"Convert_named_imports_to_namespace_import_95057" : "Convert named imports to namespace import",
1098+
"Add_or_remove_braces_in_an_arrow_function_95058" : "Add or remove braces in an arrow function",
1099+
"Add_braces_to_arrow_function_95059" : "Add braces to arrow function",
1100+
"Remove_braces_from_arrow_function_95060" : "Remove braces from arrow function"
10981101
}

tests/baselines/reference/APISample_Watch.errors.txt

Lines changed: 78 additions & 76 deletions
Original file line numberDiff line numberDiff line change
@@ -1,79 +1,75 @@
11
typescript_standalone.d.ts(21,28): error TS1005: ';' expected.
22
typescript_standalone.d.ts(21,41): error TS1005: ';' expected.
3-
typescript_standalone.d.ts(8907,28): error TS1005: ';' expected.
4-
typescript_standalone.d.ts(8907,42): error TS1005: ';' expected.
5-
typescript_standalone.d.ts(9167,28): error TS1005: ';' expected.
6-
typescript_standalone.d.ts(9167,46): error TS1005: ';' expected.
7-
typescript_standalone.d.ts(9517,28): error TS1005: ';' expected.
8-
typescript_standalone.d.ts(9517,36): error TS1005: ';' expected.
9-
typescript_standalone.d.ts(9541,28): error TS1005: ';' expected.
10-
typescript_standalone.d.ts(9541,36): error TS1005: ';' expected.
11-
typescript_standalone.d.ts(9628,28): error TS1005: ';' expected.
12-
typescript_standalone.d.ts(9628,38): error TS1005: ';' expected.
13-
typescript_standalone.d.ts(10792,28): error TS1005: ';' expected.
14-
typescript_standalone.d.ts(10792,57): error TS1005: ';' expected.
15-
typescript_standalone.d.ts(10803,28): error TS1005: ';' expected.
16-
typescript_standalone.d.ts(10803,41): error TS1005: ';' expected.
17-
typescript_standalone.d.ts(10813,28): error TS1005: ';' expected.
18-
typescript_standalone.d.ts(10813,48): error TS1005: ';' expected.
19-
typescript_standalone.d.ts(10888,28): error TS1005: ';' expected.
20-
typescript_standalone.d.ts(10888,47): error TS1005: ';' expected.
21-
typescript_standalone.d.ts(10945,28): error TS1005: ';' expected.
22-
typescript_standalone.d.ts(10945,47): error TS1005: ';' expected.
23-
typescript_standalone.d.ts(10999,28): error TS1005: ';' expected.
24-
typescript_standalone.d.ts(10999,52): error TS1005: ';' expected.
25-
typescript_standalone.d.ts(11019,28): error TS1005: ';' expected.
26-
typescript_standalone.d.ts(11019,44): error TS1005: ';' expected.
27-
typescript_standalone.d.ts(11029,28): error TS1005: ';' expected.
28-
typescript_standalone.d.ts(11029,35): error TS1005: ';' expected.
29-
typescript_standalone.d.ts(11063,28): error TS1005: ';' expected.
30-
typescript_standalone.d.ts(11063,40): error TS1005: ';' expected.
31-
typescript_standalone.d.ts(11066,28): error TS1005: ';' expected.
32-
typescript_standalone.d.ts(11066,43): error TS1005: ';' expected.
3+
typescript_standalone.d.ts(8910,28): error TS1005: ';' expected.
4+
typescript_standalone.d.ts(8910,42): error TS1005: ';' expected.
5+
typescript_standalone.d.ts(9170,28): error TS1005: ';' expected.
6+
typescript_standalone.d.ts(9170,46): error TS1005: ';' expected.
7+
typescript_standalone.d.ts(9520,28): error TS1005: ';' expected.
8+
typescript_standalone.d.ts(9520,36): error TS1005: ';' expected.
9+
typescript_standalone.d.ts(9544,28): error TS1005: ';' expected.
10+
typescript_standalone.d.ts(9544,36): error TS1005: ';' expected.
11+
typescript_standalone.d.ts(9631,28): error TS1005: ';' expected.
12+
typescript_standalone.d.ts(9631,38): error TS1005: ';' expected.
13+
typescript_standalone.d.ts(10796,28): error TS1005: ';' expected.
14+
typescript_standalone.d.ts(10796,57): error TS1005: ';' expected.
15+
typescript_standalone.d.ts(10807,28): error TS1005: ';' expected.
16+
typescript_standalone.d.ts(10807,41): error TS1005: ';' expected.
17+
typescript_standalone.d.ts(10817,28): error TS1005: ';' expected.
18+
typescript_standalone.d.ts(10817,48): error TS1005: ';' expected.
19+
typescript_standalone.d.ts(10892,28): error TS1005: ';' expected.
20+
typescript_standalone.d.ts(10892,47): error TS1005: ';' expected.
21+
typescript_standalone.d.ts(10949,28): error TS1005: ';' expected.
22+
typescript_standalone.d.ts(10949,47): error TS1005: ';' expected.
23+
typescript_standalone.d.ts(11003,28): error TS1005: ';' expected.
24+
typescript_standalone.d.ts(11003,52): error TS1005: ';' expected.
25+
typescript_standalone.d.ts(11023,28): error TS1005: ';' expected.
26+
typescript_standalone.d.ts(11023,44): error TS1005: ';' expected.
27+
typescript_standalone.d.ts(11033,28): error TS1005: ';' expected.
28+
typescript_standalone.d.ts(11033,35): error TS1005: ';' expected.
29+
typescript_standalone.d.ts(11067,28): error TS1005: ';' expected.
30+
typescript_standalone.d.ts(11067,40): error TS1005: ';' expected.
3331
typescript_standalone.d.ts(11070,28): error TS1005: ';' expected.
34-
typescript_standalone.d.ts(11070,45): error TS1005: ';' expected.
35-
typescript_standalone.d.ts(11088,28): error TS1005: ';' expected.
36-
typescript_standalone.d.ts(11088,56): error TS1005: ';' expected.
37-
typescript_standalone.d.ts(11114,28): error TS1005: ';' expected.
38-
typescript_standalone.d.ts(11114,36): error TS1005: ';' expected.
39-
typescript_standalone.d.ts(11117,28): error TS1005: ';' expected.
40-
typescript_standalone.d.ts(11117,43): error TS1005: ';' expected.
41-
typescript_standalone.d.ts(11129,28): error TS1005: ';' expected.
42-
typescript_standalone.d.ts(11129,43): error TS1005: ';' expected.
43-
typescript_standalone.d.ts(11159,28): error TS1005: ';' expected.
44-
typescript_standalone.d.ts(11159,40): error TS1005: ';' expected.
45-
typescript_standalone.d.ts(11193,28): error TS1005: ';' expected.
46-
typescript_standalone.d.ts(11193,40): error TS1005: ';' expected.
47-
typescript_standalone.d.ts(11204,28): error TS1005: ';' expected.
48-
typescript_standalone.d.ts(11204,40): error TS1005: ';' expected.
49-
typescript_standalone.d.ts(11228,28): error TS1005: ';' expected.
50-
typescript_standalone.d.ts(11228,40): error TS1005: ';' expected.
51-
typescript_standalone.d.ts(11236,28): error TS1005: ';' expected.
52-
typescript_standalone.d.ts(11236,40): error TS1005: ';' expected.
32+
typescript_standalone.d.ts(11070,43): error TS1005: ';' expected.
33+
typescript_standalone.d.ts(11074,28): error TS1005: ';' expected.
34+
typescript_standalone.d.ts(11074,45): error TS1005: ';' expected.
35+
typescript_standalone.d.ts(11092,28): error TS1005: ';' expected.
36+
typescript_standalone.d.ts(11092,56): error TS1005: ';' expected.
37+
typescript_standalone.d.ts(11118,28): error TS1005: ';' expected.
38+
typescript_standalone.d.ts(11118,36): error TS1005: ';' expected.
39+
typescript_standalone.d.ts(11121,28): error TS1005: ';' expected.
40+
typescript_standalone.d.ts(11121,43): error TS1005: ';' expected.
41+
typescript_standalone.d.ts(11133,28): error TS1005: ';' expected.
42+
typescript_standalone.d.ts(11133,43): error TS1005: ';' expected.
43+
typescript_standalone.d.ts(11163,28): error TS1005: ';' expected.
44+
typescript_standalone.d.ts(11163,40): error TS1005: ';' expected.
45+
typescript_standalone.d.ts(11197,28): error TS1005: ';' expected.
46+
typescript_standalone.d.ts(11197,40): error TS1005: ';' expected.
47+
typescript_standalone.d.ts(11208,28): error TS1005: ';' expected.
48+
typescript_standalone.d.ts(11208,40): error TS1005: ';' expected.
49+
typescript_standalone.d.ts(11232,28): error TS1005: ';' expected.
50+
typescript_standalone.d.ts(11232,40): error TS1005: ';' expected.
5351
typescript_standalone.d.ts(11240,28): error TS1005: ';' expected.
5452
typescript_standalone.d.ts(11240,40): error TS1005: ';' expected.
55-
typescript_standalone.d.ts(11270,28): error TS1005: ';' expected.
56-
typescript_standalone.d.ts(11270,40): error TS1005: ';' expected.
57-
typescript_standalone.d.ts(11313,28): error TS1005: ';' expected.
58-
typescript_standalone.d.ts(11313,41): error TS1005: ';' expected.
59-
typescript_standalone.d.ts(11500,28): error TS1005: ';' expected.
60-
typescript_standalone.d.ts(11500,37): error TS1005: ';' expected.
61-
typescript_standalone.d.ts(11502,28): error TS1005: ';' expected.
62-
typescript_standalone.d.ts(11502,37): error TS1005: ';' expected.
53+
typescript_standalone.d.ts(11244,28): error TS1005: ';' expected.
54+
typescript_standalone.d.ts(11244,40): error TS1005: ';' expected.
55+
typescript_standalone.d.ts(11274,28): error TS1005: ';' expected.
56+
typescript_standalone.d.ts(11274,40): error TS1005: ';' expected.
57+
typescript_standalone.d.ts(11317,28): error TS1005: ';' expected.
58+
typescript_standalone.d.ts(11317,41): error TS1005: ';' expected.
59+
typescript_standalone.d.ts(11504,28): error TS1005: ';' expected.
60+
typescript_standalone.d.ts(11504,37): error TS1005: ';' expected.
6361
typescript_standalone.d.ts(11506,28): error TS1005: ';' expected.
6462
typescript_standalone.d.ts(11506,37): error TS1005: ';' expected.
65-
typescript_standalone.d.ts(11508,28): error TS1005: ';' expected.
66-
typescript_standalone.d.ts(11508,37): error TS1005: ';' expected.
6763
typescript_standalone.d.ts(11510,28): error TS1005: ';' expected.
6864
typescript_standalone.d.ts(11510,37): error TS1005: ';' expected.
6965
typescript_standalone.d.ts(11512,28): error TS1005: ';' expected.
7066
typescript_standalone.d.ts(11512,37): error TS1005: ';' expected.
7167
typescript_standalone.d.ts(11514,28): error TS1005: ';' expected.
7268
typescript_standalone.d.ts(11514,37): error TS1005: ';' expected.
73-
typescript_standalone.d.ts(11523,28): error TS1005: ';' expected.
74-
typescript_standalone.d.ts(11523,37): error TS1005: ';' expected.
75-
typescript_standalone.d.ts(11525,28): error TS1005: ';' expected.
76-
typescript_standalone.d.ts(11525,37): error TS1005: ';' expected.
69+
typescript_standalone.d.ts(11516,28): error TS1005: ';' expected.
70+
typescript_standalone.d.ts(11516,37): error TS1005: ';' expected.
71+
typescript_standalone.d.ts(11518,28): error TS1005: ';' expected.
72+
typescript_standalone.d.ts(11518,37): error TS1005: ';' expected.
7773
typescript_standalone.d.ts(11527,28): error TS1005: ';' expected.
7874
typescript_standalone.d.ts(11527,37): error TS1005: ';' expected.
7975
typescript_standalone.d.ts(11529,28): error TS1005: ';' expected.
@@ -100,10 +96,10 @@ typescript_standalone.d.ts(11549,28): error TS1005: ';' expected.
10096
typescript_standalone.d.ts(11549,37): error TS1005: ';' expected.
10197
typescript_standalone.d.ts(11551,28): error TS1005: ';' expected.
10298
typescript_standalone.d.ts(11551,37): error TS1005: ';' expected.
103-
typescript_standalone.d.ts(11561,28): error TS1005: ';' expected.
104-
typescript_standalone.d.ts(11561,37): error TS1005: ';' expected.
105-
typescript_standalone.d.ts(11563,28): error TS1005: ';' expected.
106-
typescript_standalone.d.ts(11563,37): error TS1005: ';' expected.
99+
typescript_standalone.d.ts(11553,28): error TS1005: ';' expected.
100+
typescript_standalone.d.ts(11553,37): error TS1005: ';' expected.
101+
typescript_standalone.d.ts(11555,28): error TS1005: ';' expected.
102+
typescript_standalone.d.ts(11555,37): error TS1005: ';' expected.
107103
typescript_standalone.d.ts(11565,28): error TS1005: ';' expected.
108104
typescript_standalone.d.ts(11565,37): error TS1005: ';' expected.
109105
typescript_standalone.d.ts(11567,28): error TS1005: ';' expected.
@@ -115,17 +111,23 @@ typescript_standalone.d.ts(11571,37): error TS1005: ';' expected.
115111
typescript_standalone.d.ts(11573,28): error TS1005: ';' expected.
116112
typescript_standalone.d.ts(11573,37): error TS1005: ';' expected.
117113
typescript_standalone.d.ts(11575,28): error TS1005: ';' expected.
118-
typescript_standalone.d.ts(11575,72): error TS1005: ';' expected.
114+
typescript_standalone.d.ts(11575,37): error TS1005: ';' expected.
119115
typescript_standalone.d.ts(11577,28): error TS1005: ';' expected.
120-
typescript_standalone.d.ts(11577,52): error TS1005: ';' expected.
121-
typescript_standalone.d.ts(11649,28): error TS1005: ';' expected.
122-
typescript_standalone.d.ts(11649,72): error TS1005: ';' expected.
123-
typescript_standalone.d.ts(11651,28): error TS1005: ';' expected.
124-
typescript_standalone.d.ts(11651,38): error TS1005: ';' expected.
116+
typescript_standalone.d.ts(11577,37): error TS1005: ';' expected.
117+
typescript_standalone.d.ts(11579,28): error TS1005: ';' expected.
118+
typescript_standalone.d.ts(11579,72): error TS1005: ';' expected.
119+
typescript_standalone.d.ts(11581,28): error TS1005: ';' expected.
120+
typescript_standalone.d.ts(11581,52): error TS1005: ';' expected.
125121
typescript_standalone.d.ts(11653,28): error TS1005: ';' expected.
126-
typescript_standalone.d.ts(11653,40): error TS1005: ';' expected.
127-
typescript_standalone.d.ts(11729,28): error TS1005: ';' expected.
128-
typescript_standalone.d.ts(11729,48): error TS1005: ';' expected.
122+
typescript_standalone.d.ts(11653,72): error TS1005: ';' expected.
123+
typescript_standalone.d.ts(11655,28): error TS1005: ';' expected.
124+
typescript_standalone.d.ts(11655,38): error TS1005: ';' expected.
125+
typescript_standalone.d.ts(11657,28): error TS1005: ';' expected.
126+
typescript_standalone.d.ts(11657,71): error TS1005: ';' expected.
127+
typescript_standalone.d.ts(11659,28): error TS1005: ';' expected.
128+
typescript_standalone.d.ts(11659,40): error TS1005: ';' expected.
129+
typescript_standalone.d.ts(11735,28): error TS1005: ';' expected.
130+
typescript_standalone.d.ts(11735,48): error TS1005: ';' expected.
129131

130132

131133
==== tests/cases/compiler/APISample_Watch.ts (0 errors) ====

0 commit comments

Comments
 (0)