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
> [email protected]
> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
_______________________________________________
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel