- Catch another case where recursion caused the value
of $CALLER to be stamped on (t0m)
- added test for this (t0m)
+ * Moose
+ - Remove the make_immutable keyword, which has been
+ deprecated since April. It breaks metaclasses that
+ use Moose without no Moose (Sartak)
0.61 Fri November 7, 2008
* Moose::Meta::Attribute
Class::MOP::Class->initialize($class)->add_augment_method_modifier( $name => $method );
}
-sub make_immutable {
- my $class = shift;
- cluck "The make_immutable keyword has been deprecated, " .
- "please go back to __PACKAGE__->meta->make_immutable\n";
- Class::MOP::Class->initialize($class)->make_immutable(@_);
-}
-
Moose::Exporter->setup_import_methods(
with_caller => [
- qw( extends with has before after around override augment make_immutable )
+ qw( extends with has before after around override augment)
],
as_is => [
qw( super inner ),
use strict;
use warnings;
-use Test::More tests => 43;
+use Test::More tests => 41;
my @moose_exports = qw(
override
augment
super inner
- make_immutable
);
{