Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Preserve itemization when caching
suggested by pmichaud++
  • Loading branch information
lizmat committed Oct 3, 2014
1 parent a4309ee commit b3331e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/Routine.pm
Expand Up @@ -151,7 +151,7 @@ multi sub trait_mod:<is>(Routine $r, :$cached!) {
my $key := c.gist;
%cache{$key}:exists
?? %cache{$key}
!! (%cache{$key} = callsame);
!! (%cache{$key} := callsame);
});
}

Expand Down

0 comments on commit b3331e4

Please sign in to comment.