[MacRuby-devel] [macruby] #83: octype error of NSZone

macruby ruby-noreply at macosforge.org
Sat Jun 21 08:59:31 PDT 2008


#83: octype error of NSZone
---------------------------------+------------------------------------------
 Reporter:  psychs at limechat.net  |       Owner:  lsansonetti at apple.com
     Type:  defect               |      Status:  new                  
 Priority:  blocker              |   Milestone:                       
Component:  MacRuby              |    Keywords:                       
---------------------------------+------------------------------------------
 {{{
 framework 'Cocoa'

 class MyCell < NSCell
   def copyWithZone(zone)
     MyCell.new
   end
 end

 NSApplicationMain(0, nil)
 }}}

 It should work well, but I got an error below.

 {{{
 test.rb:4:in `<class:MyCell>': unrecognized octype `{_NSZone=}'
 (RuntimeError)
         from test.rb:3:in `<main>'
 }}}

-- 
Ticket URL: <http://ruby.macosforge.org/trac/ticket/83>
macruby <http://ruby.macosforge.org/>


More information about the MacRuby-devel mailing list