dart-sass icon indicating copy to clipboard operation
dart-sass copied to clipboard

`ArgumentDeclaration.restArgument` should probably be an `Argument`

Open jathak opened this issue 4 years ago • 0 comments

A static analysis tool that uses AST nodes to track scope doesn't currently have any node for rest arguments.

This means it can miss those definitions when determining what a given variable expression refers to (confirmed this indeed results in a bug in the module migrator).

jathak avatar Sep 02 '21 22:09 jathak