Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

local parameters



function foo {
  integer argv=1
}

drops core.  So do nested calls to user-defined widgets, if you have
the ZLE parameter patch (3014) applied.  This all appears to be related
to some code in createparam() and bin_typeset() that dislikes creating
parameters with the same name as existing special parameters.  I'd like
to rewrite that code to work correctly, but first can someone tell me
why the code currently treats that case specially?  What does POSIX say
about hiding special parameters?

-zefram



Messages sorted by: Reverse Date, Date, Thread, Author