Subject: Amusing (?) behavior of zsh/parameter specials
From: Bart Schaefer <[email-masked]>
To: [email-masked]
Date: Sat, 23 Jan 2016 09:07:36 -0800
List-Id: Zsh Workers List <zsh-workers.zsh.org>

This is clearly a side-effect of feature autoloading, but:

torch% typeset -m -p fun\*
typeset functrace
typeset funcsourcetrace
typeset funcstack
typeset functions
typeset funcfiletrace
torch% : $funcstack
torch% typeset -m -p fun\*
typeset functrace
typeset funcsourcetrace
typeset functions
typeset funcfiletrace
torch% () { print $functrace }
Src/zsh:21
torch% typeset -m -p fun\*    
typeset funcsourcetrace
typeset functions
typeset funcfiletrace

Note how each parameter name disappears from the typeset output after it
has been reference once.

torch% print ${(t)functrace}
array-readonly-hide-hideval-special

Probably there's nothing to be done about this, I just found it curious.
Maybe autoloaded parameters should always be hidden until they load?