Not inlining 'new' for Foo since it has method modifiers which would be lost if it were inlined

[email protected] (Bill Moseley)
Newsgroups perl.moose
Message-ID <CAKhN_m6pgw87OemQ659O3OSOWhdRoC=ycy_6PAn2Xd_CDYAkPA@mail.gmail.com>
Could someone please explain what's happening here?

$ perl -MThrowable::Error -le 'package Foo; use Moose; extends
"Throwable::Error"; Foo->meta->make_immutable'
Not inlining 'new' for Foo since it has method modifiers which would be
lost if it were inlined

I see that not calling make_immutable avoids the warning, but I'm not
understanding why.

Thanks,



-- 
Bill Moseley
[email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.