# the compile time of the MOP, and gives us no actual benefits.
# this is just nitpicking to ensure Class::MOP::Class->meta == ->meta->meta
-Class::MOP::Class->meta->immutable_metaclass;
+Class::MOP::Class->meta->_immutable_metaclass;
$Class::MOP::Class::immutable_metaclass_cache{"Class::MOP::Class"}{"Class::MOP::Class::Immutable::Trait"} = Class::MOP::Class::Immutable::Class::MOP::Class->meta;
$_->meta->make_immutable(
_inline_destructor _immutable_options _rebless_as_immutable
_rebless_as_mutable _remove_inlined_code
- immutable_metaclass immutable_trait constructor_name constructor_class destructor_class
+ _immutable_metaclass
+ immutable_trait constructor_name constructor_class destructor_class
immutable_transformer
$meta->make_immutable;
- my $immutable_metaclass = $meta->immutable_metaclass->meta;
+ my $immutable_metaclass = $meta->_immutable_metaclass->meta;
- #I don't understand why i need to ->meta here...
my $obj = $immutable_metaclass->name;
ok( !$obj->is_mutable, '... immutable_metaclass is not mutable' );