oxc/tasks
overlookmotel 91343913ca fix(semantic): transform checker check unresolved references (#5096)
Transform checker check root unresolved references.

The transform checker is now checking pretty much everything it can.

Only fields of `ScopeTree` and `SymbolTable` that it's *not* checking are those which contain `AstNodeId`s, because transformer does not create node IDs at present:

* `ScopeTree::node_ids`
* `SymbolTable::declarations`
* `Reference::node_id`

Checking also only proceeds in "from AST" direction.

i.e. for each `SymbolId` which appears in the AST, we check everything about that symbol. But we *don't* go through all the "rows" in `SymbolTable` and check if there are any extra symbols in the table which aren't in the AST.

Presumably transformer will leave a lot of old symbols lying around in `SymbolTable` (ditto scopes and references). We'd need to add `ScopeFlags::Deleted`, `SymbolFlags::Deleted` and `ReferenceFlags::Deleted` for the transformer to be able to "delete" existing symbols.
2024-08-23 07:52:30 +00:00
..
ast_tools refactor(ast)!: rename IdentifierReference::reference_flags field (#5024) 2024-08-21 00:19:57 +00:00
benchmark chore(website): remove textlint annotation 2024-08-23 15:50:52 +08:00
common feat(coverage): check symbols and scopes after transformation (#4917) 2024-08-16 07:05:11 +00:00
coverage fix(semantic): transform checker check unresolved references (#5096) 2024-08-23 07:52:30 +00:00
javascript_globals chore: turn off doctest for all [[bin]] 2024-07-14 16:55:19 +08:00
lint_rules feat(docs): add tracking for plugins "promise" and "vitest" (#4668) 2024-08-05 19:01:44 -04:00
minsize feat(codegen)!: remove const generic MINIFY (#5001) 2024-08-20 08:13:27 +00:00
prettier_conformance refactor(parser)!: remove builder pattern from Parser struct (#5000) 2024-08-20 07:40:25 +00:00
rulegen feat(rulegen): improve examples in documentation (#4815) 2024-08-10 18:48:59 -04:00
transform_conformance fix(semantic): transform checker check unresolved references (#5096) 2024-08-23 07:52:30 +00:00
website chore(website): remove textlint annotation 2024-08-23 15:50:52 +08:00