Fixed! The wrapper for includes, IncludedModuleWrapper, was never updated when I fixed the module include ordering, so it was still expecting superclasses to be included below it rather than above it. I updated it to do things the correct way and it works right now. I also added a test case based on yours below.
On 2/26/06, David Corbin <[EMAIL PROTECTED]> wrote: > Here's another one. This one *looks* like you can simplify it further, but I > haven't been able to. > > --begin-- > require 'test/unit' > > module ModA > def methodA > $stderr.puts "It Works!" > end > end > > module ModB > include ModA > > def methodB > methodA > end > end > > module ModC > include ModB > > def methodC > methodB > end > end > > class DTest < Test::Unit::TestCase > > include ModC > > def testD > methodC > end > > end > > > --end-- > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting language > that extends applications into web and mobile media. Attend the live webcast > and join the prime developer group breaking into this new coding territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 > _______________________________________________ > Jruby-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/jruby-devel > -- Charles Oliver Nutter @ headius.blogspot.com JRuby Developer @ jruby.sourceforge.net Application Architect @ www.ventera.com ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Jruby-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jruby-devel
