projects
/
gitmo/MooseX-Types.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
added fallback to overloading
[gitmo/MooseX-Types.git]
/
lib
/
MooseX
/
Types
/
TypeDecorator.pm
diff --git
a/lib/MooseX/Types/TypeDecorator.pm
b/lib/MooseX/Types/TypeDecorator.pm
index
3d74d30
..
31dd3fd
100644
(file)
--- a/
lib/MooseX/Types/TypeDecorator.pm
+++ b/
lib/MooseX/Types/TypeDecorator.pm
@@
-22,6
+22,8
@@
use overload(
my $union = Moose::Meta::TypeConstraint::Union->new(type_constraints=>\@tc);
return Moose::Util::TypeConstraints::register_type_constraint($union);
},
+ fallback => 1,
+
);