Fix custom syntax bug.

This commit is contained in:
Stephen Chung
2023-04-25 23:14:08 +08:00
parent 6be29cae54
commit 4ec16d14e0
3 changed files with 67 additions and 9 deletions

View File

@@ -14,6 +14,7 @@ Bug fixes
* Expressions such as `(v[0].func()).prop` now parse correctly.
* Shadowed variable exports are now handled correctly.
* Shadowed constant definitions are now optimized correctly when propagated (e.g. `const X = 1; const X = 1 + 1 + 1; X` now evaluates to 3 instead of 0).
* Identifiers and comma's in the middle of custom syntax now register correctly.
New features
------------