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)