Skip to content

bug(linter) panic in fixer for no-unused-vars when fixing a using declaration #5202

@camc314

Description

@camc314

the following code panics:

panic!("VariableDeclarator nodes should always be direct children of VariableDeclaration nodes");

given the following input

using foo = 2

as VariableDeclarator can be direct children of UsingDeclaration nodes.

Metadata

Metadata

Assignees

Labels

A-linterArea - LinterC-bugCategory - Bug

Type

No type

Priority

None yet

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions