Summary

star export '(module foo * ...)' doesn't work with reexport

Metadata

Attachments

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

Changes and comments

[2012-05-18 12:47:46 UTC] felix removed milestone 4.8.0

[2012-05-18 12:47:51 UTC] felix set milestone to 4.9.0

[2012-06-10 21:18:50 UTC] megane attached patch-843 (description=possible patch)

[2012-06-11 09:37:15 UTC] felix changed status from new to assigned

[2012-06-11 09:37:15 UTC] felix set owner to felix

[2012-06-12 12:56:40 UTC] felix changed status from assigned to closed

[2012-06-12 12:56:40 UTC] felix set resolution to fixed