projects
/
gitmo/Moose.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
adding the applied_traits method to attr
[gitmo/Moose.git]
/
lib
/
Moose
/
Util
/
TypeConstraints.pm
diff --git
a/lib/Moose/Util/TypeConstraints.pm
b/lib/Moose/Util/TypeConstraints.pm
index
79ad4f9
..
bf13b12
100644
(file)
--- a/
lib/Moose/Util/TypeConstraints.pm
+++ b/
lib/Moose/Util/TypeConstraints.pm
@@
-471,7
+471,7
@@
sub _install_type_coercions ($$) {
my $given = shift;
my @rv;
while ( $given =~ m{ \G (?: $op_union )? ($type) }gcx ) {
- push @rv => $1;
+ push @rv => $1;
}
(pos($given) eq length($given))
|| confess "'$given' didn't parse (parse-pos="