Summary

csi: Modules leak identifiers

Metadata

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.

[2018-07-21 18:08:18 UTC] sjamaan changed status from new to closed

[2018-07-21 18:08:18 UTC] sjamaan set resolution to invalid