-
-
Notifications
You must be signed in to change notification settings - Fork 688
Open
Description
When running the following a.rkt, I get the expected result:
#lang racket
(provide module++)
(require syntax/parse/define)
(define-simple-macro (module++ name base xs ...)
(module name base
(provide (all-defined-out))
xs ...))
(module++ bar racket/base
(define a 2))
(require 'bar)
a ;=> 2
However, running b.rkt, which uses module++ in a.rkt, fails.
#lang racket
(require my/a)
(module++ foo racket/base
1)
provide: identifier's binding is ambiguous
context...:
matching binding...:
matching binding...:
matching binding...: in: provide
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels