[Kde-bindings] [Bug 126985] New: Qtruby inherited constructor called 2 times before 'super'

Maël Clérambault maelclerambault at yahoo.fr
Mon May 8 19:46:57 UTC 2006


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=126985         
           Summary: Qtruby inherited constructor called 2 times before
                    'super'
           Product: bindings
           Version: unspecified
          Platform: Gentoo Packages
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: wishlist
          Priority: NOR
         Component: general
        AssignedTo: kde-bindings kde org
        ReportedBy: maelclerambault yahoo fr


Version:            (using KDE KDE 3.5.2)
Installed from:    Gentoo Packages

sample script:
--------------

require 'Qt'

class A < Qt::Object
  def initialize
    p 'A'
    super
    p 'A end'
  end

end

A.new

outputs:
---------

"A"
"A"
"A end"


Everything before the 'super' call is executed 2 times.



More information about the Kde-bindings mailing list