[parenscript-devel] Re: BUG: slot value conditional.

Vladimir Sedach vsedach at gmail.com
Thu Jul 26 21:24:51 UTC 2007


Fix is now in the darcs repository. In particular, slot-value now
handles arbitrary expressions as object arguments correctly. However,
this does mean that because of the way special forms are handled now,
that (slot-value this 'x) => "(this).x" since 'this' is treated as a
special case, which is a bit ugly.

Vladimir

On 6/15/07, Vladimir Sedach <vsedach at gmail.com> wrote:
> Daniel Gackle pointed this out:
>
> (js (slot-value (if yes a b) 'prop)) =>
>     "yes ? a : b.prop;"
>
> When in fact the code should be "yes ? a.prop : b.prop;"
>



More information about the parenscript-devel mailing list