Summary
csi: Modules leak identifiers
Metadata
- Id: 336120a9256a07c41dbedd8d223e6b7c9200735e
- Trac id: 1490
- Type: defect
- Reporter: megane
- Owner:
- Cc:
- Status: closed
- Component: unknown
- Estimated difficulty: medium
- Resolution: invalid
- Priority: minor
- Milestone: someday
- Version: 5.0.0
- Changetime: 2018-07-21 18:08:18 UTC
- Created: 2018-07-21 17:58:35 UTC
- Keywords:
Description
(module foo (bar) (import scheme (chicken base)) (define (bar x) (+ x 1))) (print (foo#bar 1)) ;; $ csi -qbn modu.scm ;; 2
I think (##sys#current-module) isn't cleared after walking (evaling?) the module. I get this with debug info:
(ALIAS) global alias `bar' in module `foo'
Changes and comments
[2018-07-21 18:05:21 UTC] sjamaan wrote:
This is a direct reference to the fully qualified name. This is supposed to work like that; after expanding modules, this is what all code will look like.