oxc/crates/oxc_semantic/src
Yuji Sugiura 70fc69b916
fix(semantic): Add Eq to CtxFlags (#3651)
I've just created example using `oxc_semantic`. 

> https://gist.github.com/leaysgur/bcb748daa665d1615eabda6967366d05

But it could not be compiled due to:

```
error: to use a constant of type `CtxFlags` in a pattern, `CtxFlags` must be annotated with `#[derive(PartialEq, Eq)]`
```

- 0.14.0: 🆖 
- ...
- 0.13.0: 🆖 
- 0.12.5: 🆗 

This change seems to fix this.
2024-06-13 13:04:42 +08:00
..
checker refactor(semantic): clean up redeclaration diagnostic 2024-05-12 01:18:30 +08:00
class feat(linter/eslint): Implement max-classes-per-file (#3241) 2024-05-13 17:23:01 +08:00
control_flow fix(semantic): Add Eq to CtxFlags (#3651) 2024-06-13 13:04:42 +08:00
jsdoc chore: remove trailing whitespaces for all files; add .editorconfig (#3639) 2024-06-12 15:47:26 +08:00
module_record feat!(ast): make Trivias clonable by adding Arc (#3638) 2024-06-12 13:16:10 +08:00
binder.rs refactor(ast): squash nested enums (#3115) 2024-04-28 20:40:37 +08:00
builder.rs feat!(ast): make Trivias clonable by adding Arc (#3638) 2024-06-12 13:16:10 +08:00
diagnostics.rs refactor(semantic): clean up redeclaration diagnostic 2024-05-12 01:18:30 +08:00
label.rs refactor(semantic): checking label in ContinueStatement based on LabelBuilder (#2202) 2024-01-29 18:24:42 +08:00
lib.rs feat!(ast): make Trivias clonable by adding Arc (#3638) 2024-06-12 13:16:10 +08:00
node.rs refactor(semantic/cfg): alias petgraph's NodeIndex as BasicBlockId. (#3380) 2024-05-22 03:09:38 +00:00
pg.rs fix(linter): memorize visited block id in neighbors_filtered_by_edge_weight (#3407) 2024-05-26 08:11:48 +00:00
reference.rs refactor(transformer/typescript): replace reference collector with symbols references (#3533) 2024-06-05 09:02:51 +00:00
scope.rs refactor(traverse): generate_uid_in_root_scope method (#3611) 2024-06-11 06:41:12 +00:00
symbol.rs refactor(transformer/typescript): replace reference collector with symbols references (#3533) 2024-06-05 09:02:51 +00:00