fix many more 3-argument calls to the module name resolver
original commit: 2f46525a7d9a13f4830b756c0935d60809ff11d8
This commit is contained in:
parent
f1121af8d2
commit
583b8b040a
|
@ -69,7 +69,7 @@
|
||||||
(cond
|
(cond
|
||||||
[(path? p) p]
|
[(path? p) p]
|
||||||
[else
|
[else
|
||||||
(let* ([mod-name ((current-module-name-resolver) p #f #f)]
|
(let* ([mod-name ((current-module-name-resolver) p #f #f #t)]
|
||||||
[str (symbol->string mod-name)]
|
[str (symbol->string mod-name)]
|
||||||
[pth (substring str 1 (string-length str))])
|
[pth (substring str 1 (string-length str))])
|
||||||
(let-values ([(base name _) (split-path pth)])
|
(let-values ([(base name _) (split-path pth)])
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
(test
|
(test
|
||||||
(string->symbol file)
|
(string->symbol file)
|
||||||
void?
|
void?
|
||||||
`(let ([mred-name ((current-module-name-resolver) 'mred #f #f)]
|
`(let ([mred-name ((current-module-name-resolver) 'mred #f #f #t)]
|
||||||
[orig-namespace (current-namespace)])
|
[orig-namespace (current-namespace)])
|
||||||
(parameterize ([current-namespace (make-base-namespace)])
|
(parameterize ([current-namespace (make-base-namespace)])
|
||||||
(namespace-attach-module orig-namespace mred-name)
|
(namespace-attach-module orig-namespace mred-name)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user