From bf5ed94e0027ab8f766899307fa4d95807da770e Mon Sep 17 00:00:00 2001 From: Martin Berends Date: Sun, 9 Aug 2009 23:28:15 +0100 Subject: [PATCH] Also pass the 'ver' pmc as a named parameter to sub 'require', for 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. --- src/builtins/eval.pir | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/builtins/eval.pir b/src/builtins/eval.pir index 721a64f4de4..d6200109760 100644 --- a/src/builtins/eval.pir +++ b/src/builtins/eval.pir @@ -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: