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

Re: [PATCH] Drop some reference specific code from typeset



Thanks.  I presume this comment ...

+    /*
+     * Relying on pname is fundamentally wrong. If the original pm was
+     * a reference, the resolved pname may refer to a hidden parameter.
+     * In that case, getsparam wrongly returns the value of the hiding
+     * parameter.
+     */

... refers to an un-resolved potential bug?

Yes. I hope to fix that in a future patch but it's most likely not any time soon.

Philippe



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