From: gfx Date: Mon, 8 Mar 2010 05:41:42 +0000 (+0900) Subject: Changes and docs X-Git-Tag: 0.50_08~11 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=d18ffd1248ee7bd5f46fa42f67688e1c06ff1160;p=gitmo%2FMouse.git Changes and docs --- diff --git a/Changes b/Changes index 2d612c5..75bc25e 100644 --- a/Changes +++ b/Changes @@ -1,5 +1,10 @@ Revision history for Mouse +0.50_08 + * Mouse::Util::TypeConstraints + - Change the type parser to check syntax (gfx) + (Now it throws erros to "ArrayRef[]", "ArrayRef[Int", etc.) + 0.50_07 Sun Mar 7 19:59:37 2010 * Mouse::Meta::Attribute - Fix a possible panic, caused by triggers, reported by diff --git a/lib/Mouse/Util/TypeConstraints.pm b/lib/Mouse/Util/TypeConstraints.pm index f7b320a..3915dc7 100644 --- a/lib/Mouse/Util/TypeConstraints.pm +++ b/lib/Mouse/Util/TypeConstraints.pm @@ -505,10 +505,6 @@ If Mouse finds a name in brackets that it does not recognize as an existing type, it assumes that this is a class name, for example C. -B Unless you parameterize a type, then it is invalid to include -the square brackets. I.e. C will be treated as a new type -name, I as a parameterization of C. - B The C type constraint for the most part works correctly now, but edge cases may still exist, please use it sparingly.