#1490 closed defect (invalid)

csi: Modules leak identifiers

Reported by: megane Owned by:
Priority: minor Milestone: someday
Component: unknown Version: 5.0.0
Keywords: Cc:
Estimated difficulty: medium

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'

Change History (2)

comment:1 Changed 16 months ago by sjamaan

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.

comment:2 Changed 16 months ago by sjamaan

Resolution: invalid
Status: newclosed
Note: See TracTickets for help on using tickets.