fix test case
The test committed previously wasn't the intended test.
This commit is contained in:
parent
37dde6dc1e
commit
61a50fbf93
|
@ -2611,11 +2611,14 @@ case of module-leve bindings; it doesn't cover local bindings.
|
||||||
(define-syntax (module-begin stx)
|
(define-syntax (module-begin stx)
|
||||||
(syntax-case stx ()
|
(syntax-case stx ()
|
||||||
[(_ a b)
|
[(_ a b)
|
||||||
#'(#%module-begin b)])))
|
(begin
|
||||||
|
(local-expand #'(#%module-begin a) 'module-begin null)
|
||||||
|
#'(#%module-begin b))])))
|
||||||
|
|
||||||
(module use (submod ".." mb)
|
(module use (submod ".." mb)
|
||||||
(module* m racket/base)
|
(module* m racket/base)
|
||||||
(require (submod "." m ".."))))))
|
(require (submod "." m "..")))))
|
||||||
|
exn:fail?)
|
||||||
|
|
||||||
;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user