Opened 9 years ago

Closed 9 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)

patch-843 (851 bytes) - added by megane 9 years ago.
possible patch

Download all attachments as: .zip

Change History (5)

comment:1 Changed 9 years ago by felix winkelmann

Milestone: 4.8.0

comment:2 Changed 9 years ago by felix winkelmann

Milestone: 4.9.0

Changed 9 years ago by megane

Attachment: patch-843 added

possible patch

comment:3 Changed 9 years ago by felix winkelmann

Owner: set to felix winkelmann
Status: newassigned

comment:4 Changed 9 years ago by felix winkelmann

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.