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

Re: [PATCH] [long] typeset doesn't report tied parameters (and related issues)



On Sun, 2018-10-07 at 14:35 +0100, Stephane Chazelas wrote:
> 2018-09-24 22:05:50 +0100, Stephane Chazelas:
> It would be useful for "typeset -p", or "typeset +m" or
> ${(t)param} or $parameters[param] to report the fact that the
> array is tied (and how for typeset -p) including for special
> ones that are created as such (like PATH to path).
>
> This patch attempts to address that.  While writing it, I found
> a number of related "issues" or possible areas of improvement,
> most of them minor.  That ends up being quite a large change.  I
> didn't initially intend to spend that much effort on it, I'm not
> very familiar with the source code (though a lot more now than
> when I started). So even though I've done quite a bit of
> testing, I think it should be reviewed by someone with more
> intimate knowledge of the code.

Thanks, I did't see anything obviously weird and it's well tested.  I'm
inclined to commit it and see what happens.  Any problems are most
likely to be combinations / juxtapositions that nobody's thought about.

pws



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