Moose 0.34 broke the ability to make a Meta class immutable. This is a
authorDave Rolsky <autarch@urth.org>
Tue, 22 Jan 2008 00:18:39 +0000 (00:18 +0000)
committerDave Rolsky <autarch@urth.org>
Tue, 22 Jan 2008 00:18:39 +0000 (00:18 +0000)
commit475042d05d8012f79b55c4d389653997202075e4
tree2bd2174acb4667f8746bab36c2be9a885e99b4ef
parentfe05ce9c3e87d7bf6767c05e68832dc097b61086
Moose 0.34 broke the ability to make a Meta class immutable. This is a
fix, though I'm not convinced it's the _right_ fix. An alternative
might be to ensure that attributes for Moose meta classes are always
Moose::Meta::Attribute objects instead of Class::MOP::Attribute
objects. Regardless, the test I added should be useful in exploring
alternative fixes.
MANIFEST
lib/Moose/Meta/Method/Constructor.pm
t/300_immutable/003_immutable_meta_class.t [new file with mode: 0644]