projects
/
gitmo/Eval-Closure.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
6171711
)
use consistent sorting, so memoization works properly
Jesse Luehrs [Thu, 21 Oct 2010 05:23:13 +0000 (
00:23
-0500)]
lib/Eval/Closure.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/Eval/Closure.pm
b/lib/Eval/Closure.pm
index
c563dc3
..
f463a3b
100644
(file)
--- a/
lib/Eval/Closure.pm
+++ b/
lib/Eval/Closure.pm
@@
-82,7
+82,7
@@
sub _clean_eval_closure {
_dump_source(_make_compiler_source(@_));
}
- my @capture_keys = keys %$captures;
+ my @capture_keys = sort keys %$captures;
my ($compiler, $e) = _make_compiler($source, @capture_keys);
my $code;
if (defined $compiler) {