chicken-janitors
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Chicken-janitors] #843: star export '(module foo * ...)' doesn't work w


From: Chicken Trac
Subject: [Chicken-janitors] #843: star export '(module foo * ...)' doesn't work with reexport
Date: Mon, 14 May 2012 13:37:50 -0000

#843: star export '(module foo * ...)' doesn't work with reexport
---------------------+------------------------------------------------------
 Reporter:  megane   |       Owner:       
     Type:  defect   |      Status:  new  
 Priority:  minor    |   Milestone:  4.8.0
Component:  unknown  |     Version:  4.7.x
 Keywords:           |  
---------------------+------------------------------------------------------
 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

-- 
Ticket URL: <http://bugs.call-cc.org/ticket/843>
Chicken Scheme <http://www.call-with-current-continuation.org/>
Chicken Scheme is a compiler for the Scheme programming language.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]