mirror of
https://github.com/danbulant/oxc
synced 2026-05-24 12:21:58 +00:00
Alter `IdentifierReference::reference_id` to return `ReferenceId`, instead of `Option<ReferenceId>`. This method is only useful on a post-semantic AST, where it will never return `None`. Returning `ReferenceId` discourages the anti-pattern of treating the result as if it could be either `Some` or `None`, and shortens code. |
||
|---|---|---|
| .. | ||
| examples | ||
| fixtures | ||
| src | ||
| tests | ||
| Cargo.toml | ||
| CHANGELOG.md | ||