HeliosLang/compiler

lang wish: unused destructured variable can be meaningfully _varName named, with leading _ to suppress "unused" error

Opened this issue · 0 comments

... as with Typescript, where naming a destructured variable with leading _ allows there to be readability in the semantic variable name, with the _ clue that it's not used.

It would be extra nice if that _varName was actually not part of the resulting scope, so it CANT be used.