oxc/crates/oxc_isolated_declarations/src
overlookmotel e66da9fe41 refactor(isolated_declarations, linter, minifier, prettier, semantic, transformer): remove unnecessary ref / ref mut syntax (#8643)
While working on #8641, I found a lot of places where we unnecessarily use `ref` / `ref mut` in match arms.

In many cases, we're creating double-references (turning a `&T` into a `&&T`). The compiler should be smart enough to remove them for us, but there doesn't seem much point in explicitly creating double-references when we don't actually want them, and relying on compiler to optimize them out again.
2025-01-21 14:20:07 +00:00
..
class.rs refactor(isolated_declarations, linter, minifier, prettier, semantic, transformer): remove unnecessary ref / ref mut syntax (#8643) 2025-01-21 14:20:07 +00:00
declaration.rs fix(isolated-declarations): retain declare declarations when they are exported (#8477) 2025-01-14 05:27:18 +00:00
diagnostics.rs feat(isolated-declarations): report error for expando functions (#3872) 2024-06-24 10:56:23 +00:00
enum.rs refactor(span): deal only in owned Atoms (#8641) 2025-01-21 14:20:06 +00:00
formal_parameter_binding_pattern.rs refactor(isolated-declarations): use CloneIn instead of ast.copy (#7459) 2024-11-25 04:56:17 +00:00
function.rs fix(isolated-declarations): retain declare declarations when they are exported (#8477) 2025-01-14 05:27:18 +00:00
inferrer.rs refactor(isolated-declarations): use CloneIn instead of ast.copy (#7459) 2024-11-25 04:56:17 +00:00
lib.rs refactor(isolated_declarations, linter, minifier, prettier, semantic, transformer): remove unnecessary ref / ref mut syntax (#8643) 2025-01-21 14:20:07 +00:00
literal.rs feat(ast)!: add StringLiteral::raw field (#7393) 2024-11-26 23:33:56 +08:00
module.rs refactor(span): derive Copy on Atom (#8596) 2025-01-19 16:14:23 +08:00
return_type.rs refactor(span): derive Copy on Atom (#8596) 2025-01-19 16:14:23 +08:00
scope.rs refactor(span): derive Copy on Atom (#8596) 2025-01-19 16:14:23 +08:00
signatures.rs refactor(global): sort imports (#7883) 2024-12-14 15:07:21 +00:00
types.rs fix(isolated-declarations): unexpected error when global Symbol as property key (#8475) 2025-01-14 05:27:17 +00:00