Implement a can_be_inlined method for MMM::Constructor that does not
authorDave Rolsky <autarch@urth.org>
Thu, 4 Dec 2008 21:36:23 +0000 (21:36 +0000)
committerDave Rolsky <autarch@urth.org>
Thu, 4 Dec 2008 21:36:23 +0000 (21:36 +0000)
commit308e04fa1dcaa607965053788c1a0c63e4083b87
treec945e4092b91aa1197f313371a760d7bbaf2f48c
parentd939e016559e9796651f35533c8bd8dfc5ccdfc3
Implement a can_be_inlined method for MMM::Constructor that does not
inline unless the new method comes from Moose::Object, by
default. Also left a hook in to allow subclasses of MMMC to easily
share this logic.
Changes
lib/Moose/Meta/Method/Constructor.pm
t/300_immutable/010_constructor_is_not_moose.t [new file with mode: 0644]