sdk
sdk copied to clipboard
Autocompletion during destructuring should not list variables that are already destructured.
Consider the following named record:
const tuple = (value: 42, another: 21);
When using destructuring to create new variables, autocomplete currently keeps suggesting variables that were already assigned.
See:
As you can see, even though we already used :another, the autocompletion keeps suggesting :another.
This makes no sense, as final (:another, :another, :value) = tuple is not valid syntax.