projects
/
gitmo/Moo.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
elide asserter since it's only used internally by handles
[gitmo/Moo.git]
/
lib
/
Moo
/
HandleMoose.pm
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}) {