#312: reopening a class and setNeedsDisplay: segfault
-------------------------------------+--------------------------------------
Reporter: mattaimone...@… | Owner: lsansone...@…
Type: defect | Status: new
Priority: critical | Milestone: MacRuby 0.5
Component: MacRuby | Keywords:
-------------------------------------+--------------------------------------
Comment(by martinlagarde...@…):
Also, getting rid of `super()` parenthesis:
{{{
#!ruby
framework 'Cocoa'
class ImageLayer < CALayer; def initialize(file_name); super; end; end
ImageLayer.new('test').setNeedsDisplay
}}}
{{{
/private/tmp/t.rb:2:in `initialize:': super: no superclass method
`initialize' for #<ImageLayer:0x2005b5460> (NoMethodError)
from /private/tmp/t.rb:1:in `<main>'
}}}
--
Ticket URL: <http://www.macruby.org/trac/ticket/312#comment:1>
MacRuby <http://macruby.org/>
_______________________________________________
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel