Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix an off-by-1.
  • Loading branch information
jnthn committed Feb 13, 2012
1 parent 5eab84b commit 5595db2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/HLL/World.pm
Expand Up @@ -144,7 +144,7 @@ class HLL::World {
my $code_ref_idx := $!num_code_refs;
$!num_code_refs := $!num_code_refs + 1;
$!code_ref_blocks.push($past_block);
pir::nqp_add_code_ref_to_sc__vPiP($!sc, $!num_code_refs, $code_ref);
pir::nqp_add_code_ref_to_sc__vPiP($!sc, $code_ref_idx, $code_ref);
$code_ref_idx
}

Expand Down

0 comments on commit 5595db2

Please sign in to comment.