From e345e44e007235f122adba3f5c06ec7cbe1100f0 Mon Sep 17 00:00:00 2001 From: Matthew Flatt Date: Fri, 27 Feb 2015 12:26:19 -0700 Subject: [PATCH] define-runtime-module-path-index: delay resolution of module path Since a module path index is being generated, a module path index for the referencing module can be used, too, preserving relative references for as long as possible. --- racket/collects/racket/runtime-path.rkt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/racket/collects/racket/runtime-path.rkt b/racket/collects/racket/runtime-path.rkt index 5eaa5336b8..5058e00fdf 100644 --- a/racket/collects/racket/runtime-path.rkt +++ b/racket/collects/racket/runtime-path.rkt @@ -140,7 +140,7 @@ (unless (module-path? p) (error 'runtime-path "not a module path: ~.s" p)) (let ([base (and vr - (variable-reference->resolved-module-path vr))]) + (variable-reference->module-path-index vr))]) (if (and (pair? p) (eq? (car p) 'submod) (path? (cadr p)))