File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -19,6 +19,9 @@ Semantic Versioning.
19
19
* ` x?.y.z ` now reports [ E0718] [ ] ("using a '.' after a '?.' might fail, since
20
20
'?.' might return 'undefined'"). (Implemented by [ Joshua Pepple] [ ] .)
21
21
([ #1128 ] [ ] )
22
+ * ` for await (...) ` now reports [ E0162] [ ] ("'await' is only allowed in async
23
+ functions") when written in a non-async function. (Implemented by [ Daniel La
24
+ Rocque] [ ] .) ([ #1168 ] [ ] )
22
25
23
26
### Fixed
24
27
@@ -1393,6 +1396,7 @@ Beta release.
1393
1396
[ #1139 ] : https://github.com/quick-lint/quick-lint-js/issues/1139
1394
1397
[ #1152 ] : https://github.com/quick-lint/quick-lint-js/issues/1152
1395
1398
[ #1155 ] : https://github.com/quick-lint/quick-lint-js/issues/1155
1399
+ [ #1168 ] : https://github.com/quick-lint/quick-lint-js/pull/1168
1396
1400
[ #1171 ] : https://github.com/quick-lint/quick-lint-js/issues/1171
1397
1401
[ #1180 ] : https://github.com/quick-lint/quick-lint-js/issues/1180
1398
1402
@@ -1442,6 +1446,7 @@ Beta release.
1442
1446
[ E0151 ] : https://quick-lint-js.com/errors/E0151/
1443
1447
[ E0155 ] : https://quick-lint-js.com/errors/E0155/
1444
1448
[ E0161 ] : https://quick-lint-js.com/errors/E0161/
1449
+ [ E0162 ] : https://quick-lint-js.com/errors/E0162/
1445
1450
[ E0172 ] : https://quick-lint-js.com/errors/E0172/
1446
1451
[ E0173 ] : https://quick-lint-js.com/errors/E0173/
1447
1452
[ E0176 ] : https://quick-lint-js.com/errors/E0176/
You can’t perform that action at this time.
0 commit comments