Handle Foo->new(undef) consistently, with an error saying a single param to new(...
authorDave Rolsky <autarch@urth.org>
Mon, 23 Feb 2009 21:22:26 +0000 (21:22 +0000)
committerDave Rolsky <autarch@urth.org>
Mon, 23 Feb 2009 21:22:26 +0000 (21:22 +0000)
commita62dcd43575e3069a70277082c7be85fb71322bf
tree6359d633ed55368fa9efab795bc3eda7adb1c6e9
parent77b2b6f2ff38f991eaefa4d50547d95b09ed848c
Handle Foo->new(undef) consistently, with an error saying a single param to new() must be a hashref
Changes
lib/Moose/Meta/Method/Constructor.pm
lib/Moose/Object.pm
t/010_basics/017_error_handling.t
t/100_bugs/008_new_w_undef.t [deleted file]
t/100_bugs/011_DEMOLISH_eats_exceptions.t
t/300_immutable/008_immutable_constructor_error.t