projects
/
gitmo/Moose.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
preserve aliasing for delegated methods
[gitmo/Moose.git]
/
lib
/
Moose
/
Meta
/
Method
/
Delegation.pm
diff --git
a/lib/Moose/Meta/Method/Delegation.pm
b/lib/Moose/Meta/Method/Delegation.pm
index
7513e75
..
32e7f9c
100644
(file)
--- a/
lib/Moose/Meta/Method/Delegation.pm
+++ b/
lib/Moose/Meta/Method/Delegation.pm
@@
-104,8
+104,8
@@
sub _initialize_body {
object => $instance
);
}
- my @args = (@{ $self->curried_arguments }, @_);
- $proxy->$method_to_call(@args);
+ unshift @_, @{ $self->curried_arguments };
+ $proxy->$method_to_call(@_);
};
}