Opened 12 years ago
Closed 12 years ago
#843 closed defect (fixed)
star export '(module foo * ...)' doesn't work with reexport
Reported by: | megane | Owned by: | felix winkelmann |
---|---|---|---|
Priority: | minor | Milestone: | 4.9.0 |
Component: | unknown | Version: | 4.7.x |
Keywords: | Cc: | ||
Estimated difficulty: |
Description
Fails with 4.7.5 (rev e6671cd)
In the case below you can see that the export of 'bar' is lost when using reexport.
Ticket #219 might be related.
(module a *
(import chicken scheme)
(define foo 1))
(module b (bar)
(import chicken scheme)
(reexport a)
(define bar 2))
(module c *
(import chicken scheme)
(reexport a) ;; <- oops, bar not exported anymore
(define bar 2))
(import (prefix b b/))
(import (prefix c c/))
(print b/foo)
(print c/foo)
(print b/bar)
(print c/bar) ;; <- Error: unbound variable: c/bar
Attachments (1)
Change History (5)
comment:1 Changed 12 years ago by
Milestone: | 4.8.0 |
---|
comment:2 Changed 12 years ago by
Milestone: | → 4.9.0 |
---|
Changed 12 years ago by
comment:3 Changed 12 years ago by
Owner: | set to felix winkelmann |
---|---|
Status: | new → assigned |
comment:4 Changed 12 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
possible patch