Subject: | Broken compatibility with Moose v0.76 |
Hi,
You may already be aware of this but it seems like the recent update of
Moose has broken this module. The attached example illustrates the
problem. It keeps warning about not "inlining" the constructor probably
due to:
around 'new' => sub { ... };
I am assuming (based on the warning) that the solution would be:
__PACKAGE__->meta->make_immutable( inline_constructor => 0 );
This issue is preventing me from installing MooseX::Declare, which I
believe is also one of your modules =)
Also there does not appear to be a VERSION number and as such I cannot
update the installed version of the module via CPANPLUS.
Thanks.
Subject: | t.pl |
#!/usr/bin/env perl
use strict;
use warnings;
use MooseX::Types::Structured;
print join( "\n", "-----------------", "STILL ALIVE", "-----------------", ), "\n";
=head1 OUTPUTS:
Not inlining 'new' for MooseX::Meta::TypeCoercion::Structured since it is not inheriting the default Moose::Object::new
If you are certain you don't need to inline your constructor, specify inline_constructor => 0 in your call to MooseX::Meta::TypeCoercion::Structured->meta->make_immutable
Not inlining a constructor for MooseX::Meta::TypeConstraint::Structured since it defines its own constructor.
If you are certain you don't need to inline your constructor, specify inline_constructor => 0 in your call to MooseX::Meta::TypeConstraint::Structured->meta->make_immutable
-----------------
STILL ALIVE
-----------------
=cut