Skip to content

Commit

Permalink
Also pass the 'ver' pmc as a named parameter to sub 'require', for
Browse files Browse the repository at this point in the history
future implementation of S11 Versioning. When this patch was applied
on Rakudo builds prior to the Lisbon Walkathon, it triggered a GC
bug during t/01-sanity/07-isa.t but it does not do that now.
  • Loading branch information
Martin Berends committed Aug 9, 2009
1 parent 61f269d commit bf5ed94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/builtins/eval.pir
Expand Up @@ -185,7 +185,7 @@ itself can be found in src/builtins/control.pir.
no_hll:
# Require module.
.local pmc retval
retval = 'require'(module, 'module'=>1)
retval = 'require'(module, 'module'=>1, 'ver'=>ver)
unless null retval goto have_retval
retval = '!FAIL'()
have_retval:
Expand Down

0 comments on commit bf5ed94

Please sign in to comment.