oxc/crates/oxc_semantic/tests/integration
Dunqing af4dc0112e feat(ast): align ts ast scope with typescript (#4253)
close: #3969
close: #2023

We need to add scope according to [this](d8086f14b6/src/compiler/binder.ts (L3883-L3962)). There are still some ASTs that need to be added to the scope.

---

Context from @Boshen:

Before this whole journey of fixing symbols and scopes I asked @Dunqing to debug through binder.ts via a debugger to fully understand how it does resolution.

We then agreed to align the implementation so that when a problem occurs, we can debug through both implementations and find where our problem is.

tsc doesn't have a specification, so we need to align with the reference implementation instead.
2024-07-17 02:50:47 +00:00
..
cfg_fixtures
snapshots refactor(semantic): correct scope in CatchClause (#4192) 2024-07-11 08:45:30 +00:00
util feat(ast): align ts ast scope with typescript (#4253) 2024-07-17 02:50:47 +00:00
cfg.rs chore(semantic): regenerate snapshot (#3757) 2024-06-19 09:28:31 +00:00
classes.rs
main.rs
modules.rs fix(semantic): bind TSImportEqualsDeclarations (#4100) 2024-07-08 14:03:47 +08:00
scopes.rs fix(semantic): resolve reference incorrectly when a parameter references a parameter that hasn't been defined yet (#4004) 2024-07-02 02:12:15 +00:00
symbols.rs feat(ast): align ts ast scope with typescript (#4253) 2024-07-17 02:50:47 +00:00