Skip to content

Conversation

@Kissaki
Copy link
Contributor

@Kissaki Kissaki commented Jan 24, 2026

The code example is invalid. As it was, $cM leads to an error when calling unlet.

The linked pull request has the same issue.

Presumably, the example should unlet all four declared variables.
Alternatively, it could unlet three of the four variables. The code that follows would fail on referencing $a either way.

The code example is invalid. As it was, `$cM` leads to an error when calling `unlet`.

The linked pull request has the same issue.

Presumably, the example should unlet all four declared variables.
Alternatively, it could unlet three of the four variables.
@fdncred
Copy link
Contributor

fdncred commented Jan 24, 2026

In my original example it was unlet $a $b $c and i left $d alone. not sure what happened but yours is good enough.

@fdncred fdncred merged commit 2eb8753 into nushell:main Jan 24, 2026
2 checks passed
@Kissaki Kissaki deleted the fix/110-unlet branch January 24, 2026 22:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants