Fixed a warning from the next Moose
Dave Rolsky [Fri, 11 Sep 2009 02:06:47 +0000 (21:06 -0500)]
t/sub.t

diff --git a/t/sub.t b/t/sub.t
index 7826411..cfcaf92 100644 (file)
--- a/t/sub.t
+++ b/t/sub.t
@@ -41,6 +41,7 @@ for my $c (@classes) {
 #  diag Dumper($obj);
 
   $sub->meta->make_immutable(
+    allow_mutable_ancestors => 1,
     inline_constructor => ($c ne 'Hash' and $c ne 'Array')
   ), redo if $sub->meta->is_mutable;
 }