-
-
Notifications
You must be signed in to change notification settings - Fork 164
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[osh-lang] 'unset' sets a variable back to the 'Undef' (null) value.
It used to remove the name from the scope. Added spec tests that reveal the difference. Now there are 5 unique behaviors for case 23 of spec/assign, rather than 6. OSH behaves like zsh and smoosh. Inspired by conversation with Michael Greenberg in issue #329.
- Loading branch information
Andy Chu
committed
Jun 10, 2019
1 parent
82f5f73
commit 6da1da1
Showing
2 changed files
with
62 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters