Make the immutable constructor provide the same nice error message for
authorDave Rolsky <autarch@urth.org>
Mon, 23 Jun 2008 03:11:04 +0000 (03:11 +0000)
committerDave Rolsky <autarch@urth.org>
Mon, 23 Jun 2008 03:11:04 +0000 (03:11 +0000)
commit93e9857863376eaf0a6bd18d0cbd1bac138a6b91
tree783b744b3558635d725d500e5ee785f6c2a8b02a
parent0b50b3e0294d42e600a7438bf1752dac9f572ac3
Make the immutable constructor provide the same nice error message for
a single non-hashref arg as Moose::Object does.
Changes
lib/Moose/Meta/Method/Constructor.pm
t/300_immutable/008_immutable_constructor_error.t [new file with mode: 0644]