camchenry
551cd2a790
fix(parser): fix parsing of import source and import defer ( #11537 )
...
- closes https://github.com/oxc-project/oxc/issues/11532
2025-06-07 03:57:33 +00:00
Cam McHenry
8d9919fc49
fix(parser): parse import type from ... correctly in JS files ( #11506 )
...
- fixes https://github.com/oxc-project/oxc/issues/11505
I forgot to add a `self.is_ts` check for parsing `import type from ...`.
In JS files, this is just a normal default import.
Co-authored-by: Cameron McHenry <camchenry@lovelace.localdomain >
2025-06-06 15:26:35 +08:00
Boshen
be3bd8ce22
fix(parser): fix panic while parsing async await => {} in module ( #11493 )
...
fixes #11487
2025-06-05 05:01:20 +00:00
camc314
2b02d84565
fix(parser): allow for(using using stmts ( #10985 )
...
fixes #10981
2025-05-14 04:57:57 +00:00
Boshen
7664bd0018
fix(parser): fix using asi ( #10504 )
...
fixes #10503
```ts
using
foo = bar()
await using
foo = bar()
```
should be parsed as
```ts
using;
foo = bar()
await using;
foo = bar()
```
not
```ts
using foo = bar()
await using foo = bar()
```
2025-04-19 05:28:30 +00:00
Dunqing
bc54d1fabd
fix(semantic): redeclare variable with function declaration inside the function should not throw error ( #10160 )
...
close : #10159
2025-04-01 13:05:30 +00:00
Dunqing
a88eb5638e
fix(parser): parsing errors occur when type parameters are followed by as or satisfies ( #9553 )
...
close : #9541
2025-03-05 06:09:39 +00:00
Boshen
bde412692d
feat(parser): parse a ? b ? (c = 0) : d => 1 : (e = 2) : f => 3 ( #9229 )
...
closes #9215
2025-02-19 13:31:14 +00:00
branchseer
f88acb331b
fix(parser): allow line breaks between const and enum ( #8193 )
...
https://www.typescriptlang.org/play/?ts=5.7.2#code/MYewdgzgLgUApmArgWwAQEFUG8C+Mg
2024-12-31 08:45:17 +08:00
DonIsaac
f1551d64bc
fix(semantic): ? on variable declaration type annotations is a syntax error ( #5956 )
...
Closes #5955
2024-09-22 00:01:47 +00:00
overlookmotel
eadffb900e
test(conformance): move conformance snapshots into separate directory ( #5924 )
2024-09-20 12:30:39 +00:00