projects
/
gitmo/Mouse.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
eed39df
)
Tweaks
Fuji, Goro [Fri, 5 Nov 2010 08:11:12 +0000 (17:11 +0900)]
lib/Mouse/Meta/TypeConstraint.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/Mouse/Meta/TypeConstraint.pm
b/lib/Mouse/Meta/TypeConstraint.pm
index
aa4e9fc
..
7b58d16
100644
(file)
--- a/
lib/Mouse/Meta/TypeConstraint.pm
+++ b/
lib/Mouse/Meta/TypeConstraint.pm
@@
-24,6
+24,9
@@
sub new {
"$type_parameter is not a subtype of $parent_tp",
);
}
+ else {
+ $type_parameter = undef;
+ }
}
}