[parenscript-devel] BUG: slot value conditional.
16 Jun
2007
16 Jun
'07
2:49 a.m.
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;"
26 Jul
26 Jul
9:24 p.m.
New subject: [parenscript-devel] Re: BUG: slot value conditional.
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@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;"
6404
Age (days ago)
6444
Last active (days ago)
1 comments
1 participants
participants (1)
-
Vladimir Sedach