Skip to content
This repository has been archived by the owner on Feb 8, 2022. It is now read-only.

let-env works inside a def-env block, but hide does not #907

Closed
ajeetdsouza opened this issue Feb 1, 2022 · 0 comments · Fixed by #921
Closed

let-env works inside a def-env block, but hide does not #907

ajeetdsouza opened this issue Feb 1, 2022 · 0 comments · Fixed by #921
Labels
bug Something isn't working

Comments

@ajeetdsouza
Copy link

ajeetdsouza commented Feb 1, 2022

One would assume that the two commands have the same semantics:

$ def-env set-foo [] { let-env foo = "foo" }
$ set-foo
$ env # foo is visible
$ def-env unset-foo [] { hide foo }
$ unset-foo
$ env # foo is still visible

edit: follow the discord conversation here

@onthebridgetonowhere onthebridgetonowhere added the bug Something isn't working label Feb 1, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants