projects
/
gitmo/Moose.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
5889f70
)
allow immutable options to override file and line
Jesse Luehrs [Sun, 24 Apr 2011 17:21:05 +0000 (12:21 -0500)]
lib/Class/MOP/Class.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/Class/MOP/Class.pm
b/lib/Class/MOP/Class.pm
index
9fc62b3
..
eb50b0e
100644
(file)
--- a/
lib/Class/MOP/Class.pm
+++ b/
lib/Class/MOP/Class.pm
@@
-1259,9
+1259,9
@@
sub make_immutable {
my ($file, $line) = (caller)[1..2];
if ( $self->is_mutable ) {
$self->_initialize_immutable(
- $self->_immutable_options(@args),
file => $file,
line => $line,
+ $self->_immutable_options(@args),
);
$self->_rebless_as_immutable(@args);
return $self;