Fix one of the issues you see with metaclass incomat when you have a moose-non moose...
authorTomas Doran (t0m) <t0m@state51.co.uk>
Thu, 7 May 2009 00:07:25 +0000 (01:07 +0100)
committerTomas Doran (t0m) <t0m@state51.co.uk>
Thu, 7 May 2009 00:07:25 +0000 (01:07 +0100)
commit349cda54dc7757032705b5485612b7cedfa2e2d5
tree73eb11cfd8cea84ed8882e7522f39392be86d18f
parent38f0beacaea376e1c16abf9c3224f8791285ba19
Fix one of the issues you see with metaclass incomat when you have a moose-non moose-moose @ISA chain. Specifically, this affects Catalyst applications if you want to run 5.80, have a Moose native application, but extend a controller base class from CPAN which hasn't been ported to Moose yet. This also changes a few private methods to pass the metaclass instance, rather than the class name - as we now have it sooner ergo it's neater.
Changes
lib/Moose/Meta/Class.pm
t/060_compat/004_extends_nonmoose_that_isa_moose_with_metarole.t [moved from t/600_todo_tests/008_moose_nonmoose_moose_chain_extends.t with 59% similarity]