Commit Graph

110 Commits

Author SHA1 Message Date
Boshen 14bc31ee74 Revert "feat(parser): parse modifiers with parse_modifiers (#3948)"
This reverts commit 7b38bde073.
2024-06-29 14:16:26 +08:00
DonIsaac 7b38bde073 feat(parser): parse modifiers with parse_modifiers (#3948)
Closes #3929
2024-06-29 05:29:47 +00:00
Boshen d65c652700 feat(parser): display jsx mismatch error, e.g. <Foo></Bar> (#3696)
relates #3548 

I'll remove the closing name in a follow up PR.

The snapshot is incorrect, so I created a follow up issue:
https://github.com/oxc-project/oxc/issues/3697
2024-06-16 01:05:28 +08:00
Boshen 9ced605487 refactor(parser): start porting arrow function parsing from tsc (#3340)
relates #3320
2024-05-18 22:35:29 +08:00
Dunqing 60db720fa6 feat(parser): parse import attributes in TSImportType (#2436)
close: #2394 

https://github.com/microsoft/TypeScript/blob/64d2eeea7b9c7f1a79edf42cb99f302535136a2e/src/compiler/types.ts#L2177-L2185

The corresponding test cases were skipped, so I manually added some
cases to misc

https://github.com/oxc-project/oxc/blob/f5db48237ff774d778bdb48e13950b5a8876f361/tasks/coverage/src/typescript.rs#L118-L121
2024-02-19 12:26:42 +08:00
Boshen 28daf83b19 feat(semantic): report no class name error (#2273)
closes #2144
2024-02-02 19:05:00 +08:00
Boshen 8d99a15ac9 feat(semantic): report error on optional variable declaration in TypeScript (#2261)
closes #2253
closes #2255
2024-02-02 14:13:10 +08:00
Dunqing b50c5ec623 fix(parser): unexpected ts type annotation in get/set (#1942)
fix: https://github.com/oxc-project/oxc/issues/1939
2024-01-08 15:07:43 +08:00
Boshen 1554f7c0d2 feat(parsr): parse let.a = 1 with error recovery (#1587) 2023-11-29 23:21:39 +08:00
Boshen a8641b9921 chore(parser): move inline tests to snapshot testing 2023-05-21 12:05:25 +08:00