Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2023-07-26 | 51945: assorted documentation improvements, bug fixes, and new test | Bart Schaefer | 1 | -1/+69 | |
1) Document the behavior of "typeset -n existing_var" (via Jun T. comment) 2) Prohibit "typeset -nm pattern" because, well, it's insane. Add test. 3) Improve doc for ${(!)ref} including ${{t!)ref} (Jun T.) 4) Fix doc for how-to unset of a named ref (Jun T.) 5) Allow "typeset +r -n ref" and "typeset +r +n ref" (Jun T.) 6) Fix "typeset -r -n ref=param" to create readonly references 7) Avoid accidental removal of PM_UNSET flag (Jun T.) and update test 8) Fix "typeset -gn ref=value" and add a test for it 9) Add tests for read-only reference behavior 10) Fix infinite recursion when resolving scope of an unset local named reference, add test. | |||||
2023-02-14 | 51437: Fix incorrectly-passed test case, masked by unrelated bug. | Bart Schaefer | 1 | -2/+21 | |
A bug with zmodload when unloading/reloading a static module caused the state of the shell options to change during K01 test. Worked around it. Also changed warnnestedvar messages to look more like other such. | |||||
2023-02-13 | 51430: Misc. problems with typeset and $parameters | Bart Schaefer | 1 | -0/+14 | |
* Fix and test for regression of assignment when using typeset command * Fix output of typeset +m and $parameters[ref] * Prevent segfault in typeset | |||||
2023-02-12 | 51417: Check subscripts in named reference values more rigorously. | Bart Schaefer | 1 | -2/+2 | |
2023-02-12 | 51403: Tests and documentation for 51402, clean up some other tests. | Bart Schaefer | 1 | -9/+161 | |
2023-02-12 | 51374: Expose named references in $parameters, fix substitution error. | Bart Schaefer | 1 | -16/+89 | |
2023-02-12 | 51361: Tests for 51360. | Bart Schaefer | 1 | -0/+439 | |