projects
/
gitmo/Class-MOP.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
78f6e9c
)
What the heck, make the new immutable subclass immutable itself. All
Dave Rolsky [Tue, 30 Jun 2009 19:49:08 +0000 (14:49 -0500)]
tests pass, and it just feels nice.
lib/Class/MOP/Class.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/Class/MOP/Class.pm
b/lib/Class/MOP/Class.pm
index
52cd74c
..
6a464c8
100644
(file)
--- a/
lib/Class/MOP/Class.pm
+++ b/
lib/Class/MOP/Class.pm
@@
-1115,6
+1115,8
@@
sub _immutable_metaclass {
}
}
+ $meta->make_immutable;
+
return $class_name;
}