Summary
modules: * export breaks when trying to export variables from imported modules
Metadata
- Id: 3e31a508900d0edfb256bfc1d03853ee440f7509
- Trac id: 865
- Type: defect
- Reporter: megane
- Owner: felix
- Cc:
- Status: closed
- Component: unknown
- Estimated difficulty:
- Resolution: fixed
- Priority: minor
- Milestone: 4.9.0
- Version: 4.7.x
- Changetime: 2012-06-12 12:56:58 UTC
- Created: 2012-06-10 21:09:24 UTC
- Keywords:
Attachments
- 3e31a508900d0edfb256bfc1d03853ee440f7509/attachments/patch1
Description
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