mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-10-28 05:00:59 +01:00
25671: non existing variable in typeset -p should cause status 1
This commit is contained in:
parent
06cc84ce84
commit
6951a1e0b2
3 changed files with 9 additions and 2 deletions
|
|
@ -449,7 +449,7 @@
|
|||
array=(foo bar)
|
||||
fn() { typeset -p array nonexistent; }
|
||||
fn
|
||||
0:declare -p shouldn't create scoped values
|
||||
1:declare -p shouldn't create scoped values
|
||||
>typeset -a array
|
||||
>array=(foo bar)
|
||||
?fn:typeset: no such variable: nonexistent
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue