#singleton_methods missing methods when extended again after cloning
--------------------------------------------------------------------

                 Key: JRUBY-3425
                 URL: http://jira.codehaus.org/browse/JRUBY-3425
             Project: JRuby
          Issue Type: Bug
    Affects Versions: JRuby 1.1.6
         Environment: OS 10.5.5
            Reporter: Jason Garber
            Assignee: Thomas E Enebo
         Attachments: test_singleton_methods.rb

Run the attached file, which instantiates a class, extends it with module B, 
clones it and then extends it with module C.  #singleton_methods misses the 
methods mixed in by B.

{code}
~/Desktop $ ruby test_singleton_methods.rb 
c
b
~/Desktop $ ruby19 test_singleton_methods.rb 
c
b
~/Desktop $ jruby test_singleton_methods.rb 
c
~/Desktop $ jruby --version
jruby 1.1.6 (ruby 1.8.6 patchlevel 114) (2008-12-17 rev 8388) [i386-java]
{code}

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to