[MacRuby] #1489: MacRuby stalls if passed invalid types to Pointer#cast!

MacRuby ruby-noreply at macosforge.org
Mon Mar 26 20:40:10 PDT 2012


#1489: MacRuby stalls if passed invalid types to Pointer#cast!
----------------------------------+-----------------------------------------
 Reporter:  watson1978@…          |       Owner:  lsansonetti@…        
     Type:  defect                |      Status:  new                  
 Priority:  blocker               |   Milestone:                       
Component:  MacRuby               |    Keywords:                       
----------------------------------+-----------------------------------------
 Test Script:
 {{{
 po = Pointer.new(:int)
 po.cast!('x') # invalid type
 }}}

 I expect to raise an exception. but, MacRuby stalls.

-- 
Ticket URL: <http://www.macruby.org/trac/ticket/1489>
MacRuby <http://macruby.org/>



More information about the macruby-tickets mailing list