Hi Caio,

I think it's a macirb problem, and that it should work fine outside of it.

Can you confirm? Yes, a ticket would be appreciated :)

Laurent

On Jan 11, 2011, at 10:10 AM, Caio Chassot wrote:

Hey all,

It appears the  ->{} syntax for lambdas is not supported.

Known? Need ticket?

   $ irb
   irb(main):001:0> ->{}
   => #<Proc:0x0000010124c5c8@(irb):1 (lambda)>

   $ macirb
   irb(main):001:0> ->{}
   SyntaxError: compile error

_______________________________________________
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel