[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Chicken-janitors] #865: modules: * export breaks when trying to export
From: |
Chicken Trac |
Subject: |
[Chicken-janitors] #865: modules: * export breaks when trying to export variables from imported modules |
Date: |
Sun, 10 Jun 2012 19:09:24 -0000 |
#865: modules: * export breaks when trying to export variables from imported
modules
---------------------+------------------------------------------------------
Reporter: megane | Owner:
Type: defect | Status: new
Priority: minor | Milestone: 4.9.0
Component: unknown | Version: 4.7.x
Keywords: |
---------------------+------------------------------------------------------
This is a variation of #843.
I have attached a possible patch for this.
{{{
;; Works
(module
bar
*
(import chicken scheme)
(define b 2))
(module
foo
()
(import chicken scheme)
(import bar)
(export b)
)
(import foo)
(print b)
;; Doesn't work
(module
bar2
*
(import chicken scheme)
(define b2 2))
(module
foo2
*
(import chicken scheme)
(import bar2)
(export b2)
)
(import foo2)
(print b2) ;; <- Error: unbound variable: b2
}}}
--
Ticket URL: <http://bugs.call-cc.org/ticket/865>
Chicken Scheme <http://www.call-with-current-continuation.org/>
Chicken Scheme is a compiler for the Scheme programming language.
- [Chicken-janitors] #865: modules: * export breaks when trying to export variables from imported modules,
Chicken Trac <=