From: Dave Rolsky <autarch@urth.org>
Date: Mon, 25 Oct 2010 21:40:04 +0000 (-0500)
Subject: Changes for member coercion fixes
X-Git-Tag: 1.18~58
X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=c27ac8c0f8a533869fa6e0e76372fb08091c20e9;p=gitmo%2FMoose.git

Changes for member coercion fixes
---

diff --git a/Changes b/Changes
index 22ad787..e367dd5 100644
--- a/Changes
+++ b/Changes
@@ -8,6 +8,15 @@ for, noteworthy changes.
   * Type constraint objects now have an assert_coerce method which will either
     return a valid value or throw an error. (rjbs)
 
+  [BUG FIXES]
+
+  * The native Array and Hash delegation methods now coerce individual new
+    members, if the _member type_ has a coercion. In other words, if the array
+    reference is defined as an ArrayRef[DateTime], and you've defined a
+    coercion from Int to DateTime, then pushing an integer via a delegation
+    method will coerce the integer to a DateTime object. Reported by Karen
+    Etheridge. RT #62351. (Dave Rolsky)
+
   [OTHER]
 
   * The Moose test suite now uses Test::Fatal instead of