Add tests for inline {con,de}structor warnings and inlining. Got rid
authorDave Rolsky <autarch@urth.org>
Sun, 21 Jun 2009 15:20:17 +0000 (10:20 -0500)
committerDave Rolsky <autarch@urth.org>
Sun, 21 Jun 2009 15:20:17 +0000 (10:20 -0500)
commit46c48e085637bb0a61e03de193e3aad510964f88
tree816a6a95de60792308dec9be717a717689224f74
parentf6d801a0d846a52beb59adf4bb48cd15c30a1840
Add tests for inline {con,de}structor warnings and inlining. Got rid
of tests that need Moose.

Added a replace_destructor immutable option, and use the same logic
for inlining a destructor as we do for a constructor.
lib/Class/MOP/Class.pm
lib/Class/MOP/Method/Inlined.pm
t/310_immutable_destroy.t [deleted file]
t/310_inline_structor.t [new file with mode: 0644]