Moose::Meta::Attribute
- making (init_arg => undef) work here too
(thanks to nothingmuch)
+
+ * Moose::Meta::Attribute
+ Moose::Meta::Method::Constructor
+ Moose::Meta::Method::Accessor
- make lazy attributes respect attr initializers (rjbs)
+ - added tests for this
* Moose::Util::TypeConstraints
Moose::Util::TypeConstraints::OptimizedConstraints
use strict;
use warnings;
-use Test::More tests => 6; #7;
+use Test::More tests => 7;
use Test::Exception;
BEGIN {
extends 'Bucket';
package MyBase;
-
sub foo { }
package Custom::Meta1;
is($foo_moose->no_moose, 'Elk', '... got the right value from the Elk method');
is($foo_moose->moose, 'Foo', '... got the right value from the Foo::Moose method');
-#lives_ok {
-# Old::Bucket::Nose->meta->make_immutable(debug => 0);
-#} 'Immutability on Moose class extending Class::MOP class ok';
+lives_ok {
+ Old::Bucket::Nose->meta->make_immutable(debug => 0);
+} 'Immutability on Moose class extending Class::MOP class ok';
lives_ok {
SubClass2::extends('MyBase');