projects
/
gitmo/MooseX-AttributeHelpers.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
519237c
)
No longer need to qualify the Bag type constraint with an "if we don't already have it"
Shawn M Moore [Sun, 25 May 2008 01:45:26 +0000 (
01:45
+0000)]
lib/MooseX/AttributeHelpers/Trait/Collection/Bag.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/MooseX/AttributeHelpers/Trait/Collection/Bag.pm
b/lib/MooseX/AttributeHelpers/Trait/Collection/Bag.pm
index
5dd0af4
..
96a7bbe
100644
(file)
--- a/
lib/MooseX/AttributeHelpers/Trait/Collection/Bag.pm
+++ b/
lib/MooseX/AttributeHelpers/Trait/Collection/Bag.pm
@@
-17,8
+17,7
@@
has 'method_provider' => (
default => 'MooseX::AttributeHelpers::MethodProvider::Bag'
);
-subtype 'Bag' => as 'HashRef[Int]'
- unless find_type_constraint('Bag');
+subtype 'Bag' => as 'HashRef[Int]';
sub helper_type { 'Bag' }