X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FMouse%2FMeta%2FMethod%2FDestructor.pm;h=935be3b2b70fce600ee31cb34f9c40cddd121c96;hb=0c15085d773ac3c69ac27b4d515895a97bd55b3d;hp=09e23bc938c87d28430d3e0fcfb38ca987fa5751;hpb=8da68341396129a1b4545299fda0fae7e9cf6d56;p=gitmo%2FMouse.git diff --git a/lib/Mouse/Meta/Method/Destructor.pm b/lib/Mouse/Meta/Method/Destructor.pm index 09e23bc..935be3b 100644 --- a/lib/Mouse/Meta/Method/Destructor.pm +++ b/lib/Mouse/Meta/Method/Destructor.pm @@ -16,7 +16,7 @@ sub generate_destructor_method_inline { } join "\n", @code; } else { - return; # no demolish =) + return 'sub { }'; # no demolish =) } };