projects
/
gitmo/Moo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
2bb6aaa
)
elide asserter since it's only used internally by handles
Matt S Trout [Sat, 7 Apr 2012 14:58:12 +0000 (14:58 +0000)]
lib/Moo/HandleMoose.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/Moo/HandleMoose.pm
b/lib/Moo/HandleMoose.pm
index
ed2e885
..
f89325a
100644
(file)
--- a/
lib/Moo/HandleMoose.pm
+++ b/
lib/Moo/HandleMoose.pm
@@
-46,6
+46,7
@@
sub inject_real_metaclass_for {
foreach my $name (keys %$attr_specs) {
my %spec = %{$attr_specs->{$name}};
$spec{is} = 'ro' if $spec{is} eq 'lazy' or $spec{is} eq 'rwp';
+ delete $spec{asserter};
if (my $isa = $spec{isa}) {
$spec{isa} = do {
if (my $mapped = $TYPE_MAP{$isa}) {