projects
/
gitmo/Moo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
13d2557
)
eliminate index attribute spec key
Matt S Trout [Wed, 2 May 2012 20:36:27 +0000 (20:36 +0000)]
lib/Moo/HandleMoose.pm
patch
|
blob
|
blame
|
history
maint/fulltest
[changed mode: 0644->0755]
patch
|
blob
|
blame
|
history
diff --git
a/lib/Moo/HandleMoose.pm
b/lib/Moo/HandleMoose.pm
index
68627cd
..
e5cef0f
100644
(file)
--- a/
lib/Moo/HandleMoose.pm
+++ b/
lib/Moo/HandleMoose.pm
@@
-58,6
+58,7
@@
sub inject_real_metaclass_for {
local @{_getstash($name)}{keys %methods};
foreach my $name (keys %$attr_specs) {
my %spec = %{$attr_specs->{$name}};
+ delete $spec{index};
$spec{is} = 'ro' if $spec{is} eq 'lazy' or $spec{is} eq 'rwp';
delete $spec{asserter};
if (my $isa = $spec{isa}) {
diff --git
a/maint/fulltest
b/maint/fulltest
old mode 100644
(file)
new mode 100755
(executable)