fix many more 3-argument calls to the module name resolver

original commit: 2f46525a7d9a13f4830b756c0935d60809ff11d8
This commit is contained in:
Matthew Flatt 2014-06-09 09:04:14 +01:00
parent f1121af8d2
commit 583b8b040a
2 changed files with 2 additions and 2 deletions

View File

@ -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)])

View File

@ -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)