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
|
||||
[(path? p) p]
|
||||
[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)]
|
||||
[pth (substring str 1 (string-length str))])
|
||||
(let-values ([(base name _) (split-path pth)])
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
(test
|
||||
(string->symbol file)
|
||||
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)])
|
||||
(parameterize ([current-namespace (make-base-namespace)])
|
||||
(namespace-attach-module orig-namespace mred-name)
|
||||
|
|
Loading…
Reference in New Issue
Block a user