From 8079d226f84ea666451363e85e6a2652cbd454df Mon Sep 17 00:00:00 2001 From: Matthew Butterick Date: Tue, 30 Oct 2018 18:43:14 -0700 Subject: [PATCH] reinstate --- pollen/cache.rkt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pollen/cache.rkt b/pollen/cache.rkt index 338d08d..020b6ce 100644 --- a/pollen/cache.rkt +++ b/pollen/cache.rkt @@ -48,7 +48,8 @@ (hash-ref ram-cache-record subkey)] [else (parameterize ([current-namespace (make-base-namespace)]) - (namespace-attach-module (namespace-anchor->namespace cache-module-ns) 'pollen/setup) ; brings in currently instantiated params (unlike namespace-require) + ;; brings in currently instantiated params (unlike namespace-require) + (namespace-attach-module (namespace-anchor->namespace cache-module-ns) 'pollen/setup (current-namespace)) (dynamic-require path subkey))])))) (define+provide (cached-require path-string subkey)