projects
/
gitmo/Moose.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
eae37c6
)
We were leaving the package name in the arg list
Dave Rolsky [Sat, 21 Feb 2009 15:28:35 +0000 (15:28 +0000)]
lib/Moose/Util/TypeConstraints.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/Moose/Util/TypeConstraints.pm
b/lib/Moose/Util/TypeConstraints.pm
index
41fdc2d
..
3980c55
100644
(file)
--- a/
lib/Moose/Util/TypeConstraints.pm
+++ b/
lib/Moose/Util/TypeConstraints.pm
@@
-667,6
+667,7
@@
sub add_parameterizable_type {
}
sub _throw_error {
+ shift;
require Moose;
unshift @_, 'Moose';
goto &Moose::throw_error;