Boshen
|
a40a217de4
|
fix(parser): parse assert keyword in TSImportAttributes (#4610)
closes #4601
|
2024-08-04 01:41:31 +00:00 |
|
DonIsaac
|
d5c4b190aa
|
fix(parser): fix enum member parsing (#4543)
Closes #4449
|
2024-07-30 10:43:09 +00:00 |
|
lucab
|
9a87e41332
|
fix(parser): avoid crashing on invalid const modifier (#4267)
Followup on https://github.com/oxc-project/oxc/pull/3977, fixing one of the crashes at https://github.com/oxc-project/oxc/pull/3977.
|
2024-07-15 11:37:31 +00:00 |
|
DonIsaac
|
4a656c3a18
|
fix(lexer): incorrect lexing of large hex/octal/binary literals (#4072)
Closes #3347. Implementation follows the approach described by @overlookmotel [here](https://github.com/oxc-project/oxc/issues/3347#issuecomment-2119004288).
|
2024-07-10 16:39:10 +00:00 |
|
Boshen
|
28eeee0f71
|
fix(parser): fix asi error diagnostic pointing at invalid text causing crash (#4163)
|
2024-07-10 14:45:10 +00:00 |
|
Boshen
|
6e5447e5d5
|
chore(coverage): add test for huge binary expression and nested if statements (#4084)
relates https://github.com/oxc-project/backlog/issues/58
|
2024-07-08 00:15:26 +08:00 |
|
Boshen
|
aaac2d8775
|
fix(codegen): preserve parentheses from AST instead calculating from operator precedence (#4055)
…operator precedence
Calculating from operator precedence is currently unsafe and will result
incorrect semantics.
|
2024-07-05 14:01:17 +08:00 |
|
DonIsaac
|
63f36daae0
|
feat(parser): parse modifiers with parse_modifiers (take 2) (#3977)
Same as #3948, with fixes for bugs found by @Boshen.
|
2024-06-30 03:46:34 +00:00 |
|
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
|
275349a9fe
|
fix(parser): parse function type parameter name accessor (#3926)
fixes #3910
|
2024-06-26 13:34:24 +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 |
|
Dunqing
|
cf41513d28
|
fix(parser): parse const extends in arrow functions correctly (#3450)
close: #3443
|
2024-05-28 21:34:52 +08:00 |
|
Boshen
|
6078a6d292
|
fix(parser): fix lexer error while parsing parenthesized arrow expressions (#3400)
closes #3399
|
2024-05-24 09:59:17 +00:00 |
|
Boshen
|
9ced605487
|
refactor(parser): start porting arrow function parsing from tsc (#3340)
relates #3320
|
2024-05-18 22:35:29 +08:00 |
|
Boshen
|
c4ccf9f4d8
|
fix(parser): parse DecoratorCallExpression when Arguments contains MemberExpression (#3265)
closes #3261
closes #3262
```
DecoratorCallExpression[Yield, Await] :
DecoratorMemberExpression[?Yield, ?Await] Arguments[?Yield, ?Await]
```
|
2024-05-14 03:18:41 +00:00 |
|
Boshen
|
798a1fde09
|
fix(parser): fix failed to parse JSXChild after JSXEmptyExpression (#2726)
fixes #2723
|
2024-03-15 13:39:20 +08:00 |
|
Boshen
|
86ee074678
|
fix(parser): remove all duplicated comments in trivia builder (#2689)
|
2024-03-12 17:51:22 +08:00 |
|
Boshen
|
265b2fb640
|
feat: miette v7 (#2465)
|
2024-03-08 15:50:00 +08:00 |
|
Boshen
|
e2d2ce3369
|
feat(parser): parse decorators properly (#2603)
closes #2562
|
2024-03-04 19:30:41 +08:00 |
|
Dunqing
|
60db720fa6
|
feat(parser): parse import attributes in TSImportType (#2436)
close: #2394
64d2eeea7b/src/compiler/types.ts (L2177-L2185)
The corresponding test cases were skipped, so I manually added some
cases to misc
f5db48237f/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
|
650f6c942f
|
refactor: use our forked version of miette::Reporter for tests (#2266)
|
2024-02-02 16:15:31 +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 |
|
Boshen
|
2f5afff9bd
|
fix(parser): fix crash on TSTemplateLiteralType in function return position (#2089)
```
interface Helpers {
inspect(): `~~~~\n${string}\n~~~~`;
}
```
|
2024-01-19 23:14:05 +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
|
2b4d1bf142
|
fix(parser): await in jsx expression
closes #1740
|
2023-12-19 20:23:16 +08:00 |
|
Boshen
|
1554f7c0d2
|
feat(parsr): parse let.a = 1 with error recovery (#1587)
|
2023-11-29 23:21:39 +08:00 |
|
magic-akari
|
445352991f
|
fix(parser): Fix type import (#1291)
- fix: #1288
- fix: #1289
|
2023-11-14 15:17:58 +08:00 |
|
Boshen
|
a60b7e5856
|
feat(tasks): add misc tests to codegen (#1215)
|
2023-11-10 16:13:31 +00:00 |
|
Boshen
|
06764f8574
|
chore(tasks): add swc-7187 test case
|
2023-06-30 16:41:52 +08:00 |
|
Boshen
|
895d26ebf9
|
chore(coverage): update snapshot
|
2023-06-01 14:28:00 +08:00 |
|
Boshen
|
a8641b9921
|
chore(parser): move inline tests to snapshot testing
|
2023-05-21 12:05:25 +08:00 |
|
Boshen
|
fc7a374e7c
|
feat(coverage): add a directory for tests
closes #363
|
2023-05-20 23:02:30 +08:00 |
|