[MacRuby-devel] bug? passing :"|=" to the send method of an array is broken
Mikael Høilund
mikael at hoilund.org
Sun Jan 2 20:47:43 PST 2011
Ah, and your other link is because it interprets your code as `foo(bar: (true { })) `. You must either use parens as you did below, or replace the braces with do…end, as this has lower precedence.
On Jan 3, 2011, at 5:35, Zachary Kaplan wrote:
> while i was doing some programming earlier today i noticed that passing the |= operator to the send method of an array results in an NoMethodError
>
> here is simple gist of an irb session demonstrating the bug: https://gist.github.com/763108
>
> also - i noticed this which is unrelated but may also be a bug: https://gist.github.com/763118
>
> -zak
> _______________________________________________
> MacRuby-devel mailing list
> MacRuby-devel at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-devel/attachments/20110103/e9d0b6da/attachment.html>
More information about the MacRuby-devel
mailing list