[MacRuby-devel] [MacRuby] #776: Segfault occurs with empty `case' clause and splat argument `when' clause. (was: Segfault occurs with case-when.)

MacRuby ruby-noreply at macosforge.org
Thu Jul 8 00:51:20 PDT 2010


#776: Segfault occurs with empty `case' clause and splat argument `when' clause.
----------------------------------+-----------------------------------------
 Reporter:  watson1978@…          |       Owner:  lsansonetti@…        
     Type:  defect                |      Status:  new                  
 Priority:  blocker               |   Milestone:                       
Component:  MacRuby               |    Keywords:                       
----------------------------------+-----------------------------------------

Comment(by eloy.de.enige@…):

 These work:

 {{{
 % macruby -e "case; when true; end"

 % macruby -e "case true; when *true; end"
 }}}

 This one fails:
 {{{
 % macruby -e "case; when *true; end"
 zsh: segmentation fault  macruby -e "case; when *true; end"
 }}}

-- 
Ticket URL: <http://www.macruby.org/trac/ticket/776#comment:1>
MacRuby <http://macruby.org/>



More information about the MacRuby-devel mailing list