Commit Graph

15 Commits

Author SHA1 Message Date
magic-akari
feb8a6dad9
fix(es/parser): Report error for exported reserved name (#8313)
**Related issue:**

- Closes #8268.
2023-11-20 21:57:51 +00:00
Donny/강동윤
bcd5a1d666
feat(es/compat): Implement transform for explicit resource management (#7376)
**Related issue:**

 - Closes #7316.
 - Closes #7369.
2023-06-29 14:13:43 +00:00
Pig Fang
6c00a2422a
feat(es/parser): Disallow tagged tpl in optional chaining (#7515) 2023-06-12 01:37:39 +00:00
Donny/강동윤
041b491466
feat(es/parser): Implement explicit resource management (#7322)
**Description:**

 - Add `UsingDecl`.
 - Add `UsingDecl` to `Decl`.
 - Rename `VarDeclOrPat` to `ForHead`.
 - Add `UsingDecl` to `ForHead`.
 - Implement parser for using declarations.

**Related issue:**

 - #7316.
2023-05-10 04:16:44 +00:00
Marvin Hagemeister
414e66910d
fix(es/parser): Fix infinite loop on jsx in js (#7191) 2023-04-02 22:14:29 +00:00
Donny/강동윤
7ee86d1d25
test: Use correct extensions for fixture tests (#6539) 2022-11-29 09:47:56 +00:00
Donny/강동윤
cb157215d2
feat(es/parser): Make error message helpful (#6535)
**Related issue:**

 - Closes https://github.com/swc-project/swc/issues/6525.
2022-11-29 05:57:23 +00:00
Donny/강동윤
b8fe04f720
feat(common): Add contexts to the error messages (#6526)
**Description:**

This PR makes the error reporter print contexts.

**Related issue:**

 - https://github.com/swc-project/swc/issues/6525.
2022-11-29 00:56:47 +09:00
magic-akari
10637b006f
fix(es/parser): Handle more TS1185 (#5834) 2022-09-13 02:16:22 +00:00
magic-akari
0f0d1db301
feat(es/parser): Handle async in for...of (#5646) 2022-08-27 15:44:51 +00:00
Austaras
375774d31e
fix(es): Check the syntax context of arguments (#5174) 2022-07-13 10:29:03 +00:00
Austaras
b62fd3e6cc
feat(es/parser): Support labelled function from annex B (#5078) 2022-07-02 04:45:22 +00:00
magic-akari
53a8cb1209
fix(es/parser): Don't panic on an invalid import meta property (#4994) 2022-06-18 10:00:52 +00:00
magic-akari
381d273f11
fix(es/parser): Check for line break after async (#4940) 2022-06-11 08:10:49 +00:00
Hannes Bornö
674275c824
feat(es/parser): Report more errors (#4244) 2022-04-07 03:43:10 +00:00