Fix the inlined code generated for immutable constructor when a value is retruned...
authorTomas Doran <bobtfish@bobtfish.net>
Tue, 5 Aug 2008 15:21:43 +0000 (15:21 +0000)
committerTomas Doran <bobtfish@bobtfish.net>
Tue, 5 Aug 2008 15:21:43 +0000 (15:21 +0000)
commitc7a43a7a92d7c5761aed696990c58b7fc30c9e78
tree70c82656792c0ff0de5f1145a8f07b4ea79b26fe
parent1b9f0d4cb4c3dcd2ccf683b649644e381cb234a5
Fix the inlined code generated for immutable constructor when a value is retruned by default/builder so that it gets correctly coerced. Add tests for this
Changes
lib/Moose/Meta/Method/Constructor.pm
t/300_immutable/004_inlined_constructors_n_types.t