diff options
| author | Peter Stephenson <p.stephenson@samsung.com> | 2023-02-21 12:16:40 +0000 |
|---|---|---|
| committer | Peter Stephenson <p.stephenson@samsung.com> | 2023-02-21 12:16:40 +0000 |
| commit | 82f307bddfaff0f6e45bf315ff43ea4192529cad (patch) | |
| tree | 1a9390633972904cff5f18e8a66ba0744368f1eb /Src/params.c | |
| parent | 51431: "typeset -p" shouldn't change parameter flags (diff) | |
| download | zsh-82f307bddfaff0f6e45bf315ff43ea4192529cad.tar zsh-82f307bddfaff0f6e45bf315ff43ea4192529cad.tar.gz zsh-82f307bddfaff0f6e45bf315ff43ea4192529cad.tar.bz2 zsh-82f307bddfaff0f6e45bf315ff43ea4192529cad.tar.lz zsh-82f307bddfaff0f6e45bf315ff43ea4192529cad.tar.xz zsh-82f307bddfaff0f6e45bf315ff43ea4192529cad.tar.zst zsh-82f307bddfaff0f6e45bf315ff43ea4192529cad.zip | |
Fix access to autoloaded parameter.
Namerefef resolution needs to happen on the parameter after autoload.
Diffstat (limited to 'Src/params.c')
| -rw-r--r-- | Src/params.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/params.c b/Src/params.c index e940d7995..90302b1b0 100644 --- a/Src/params.c +++ b/Src/params.c @@ -538,7 +538,7 @@ getparamnode(HashTable ht, const char *nam) } if (hn && ht == realparamtab) - hn = resolve_nameref(pm, NULL); + hn = resolve_nameref((Param)hn, NULL); return hn; } |
