Subject: | Prophet::Web::Menu constructor warnings |
When running tests using ANY_MOOSE=Moose (which is necessary to avoid
current problems with Mouse--see [rt.cpan.org #88537]), the following
warning is emitted multiple times:
Show quoted text
> Not inlining a constructor for Prophet::Web::Menu 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
> Prophet::Web::Menu->meta->make_immutable
For me, changing line 220 as follows stops those warnings:
- __PACKAGE__->meta->make_immutable;
+ __PACKAGE__->meta->make_immutable( inline_constructor => 0 );