projects
/
gitmo/Mouse.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
720fe8f
)
Tidy
Fuji, Goro [Sat, 25 Sep 2010 05:16:46 +0000 (14:16 +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
182ee88
..
1df270d
100644
(file)
--- a/
lib/Mouse/Meta/TypeConstraint.pm
+++ b/
lib/Mouse/Meta/TypeConstraint.pm
@@
-48,13
+48,9
@@
sub new {
return $self;
}
-sub create_child_type{
+sub create_child_type {
my $self = shift;
- return ref($self)->new(
- @_,
- # and inherits other attributes from the parent
- parent => $self,
- );
+ return ref($self)->new(@_, parent => $self);
}
sub name;