[MacRuby] #1420: Stabby proc results in CompileError in macirb
MacRuby
ruby-noreply at macosforge.org
Fri Nov 18 09:14:52 PST 2011
#1420: Stabby proc results in CompileError in macirb
--------------------------------+-------------------------------------------
Reporter: sohocoke@… | Owner: lsansonetti@…
Type: defect | Status: new
Priority: minor | Milestone:
Component: MacRuby | Keywords:
--------------------------------+-------------------------------------------
Output of symptoms:
{{{
[anonymized:~]$ macruby << EOF
> p = -> { puts 'hi' }
> p.call
> EOF
hi
[anonymized:~]$ macirb -f
irb(main):001:0> p = -> { puts 'hi' }
SyntaxError: compile error
(irb):1: syntax error, unexpected '}', expecting $end
}}}
--
Ticket URL: <http://www.macruby.org/trac/ticket/1420>
MacRuby <http://macruby.org/>
More information about the macruby-tickets
mailing list