From: Jesse Luehrs Date: Mon, 5 Jul 2010 06:43:51 +0000 (-0500) Subject: Revert "added extra check in Moose::Meta::Method::Constructor::_generate_default_valu... X-Git-Tag: 1.09~67 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=eb210883de4e0d861e65c9b3ca90b4656332169d;p=gitmo%2FMoose.git Revert "added extra check in Moose::Meta::Method::Constructor::_generate_default_value to return the raw default value if it passes looks_like_number($attr->default). This fixes the bug where non-lazy attributes with defaults set to numbers would be returned as a string instead of a number (i.e. attribute with default => 100 would be returned as "100" instead of 100)" This reverts commit c6aa41d31df9342ced768cf10d59060f56643c62. --- diff --git a/Moose b/Moose deleted file mode 160000 index 7dacb29..0000000 --- a/Moose +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 7dacb294f28248786e98ac1e1cb334e827c3d623