[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-janitors] #1131: Kill ##sys#alias-global-hook with fire
From: |
Chicken Trac |
Subject: |
Re: [Chicken-janitors] #1131: Kill ##sys#alias-global-hook with fire |
Date: |
Sun, 15 Jun 2014 16:32:49 -0000 |
#1131: Kill ##sys#alias-global-hook with fire
-----------------------+----------------------------------------------------
Reporter: sjamaan | Owner:
Type: defect | Status: new
Priority: critical | Milestone: 4.10.0
Component: unknown | Version: 4.9.x
Resolution: | Keywords:
-----------------------+----------------------------------------------------
Comment(by sjamaan):
Another inconsistency:
{{{
#!scm
(module bar (x)
(import scheme)
(define x 1))
(module foo ()
(import chicken)
(print (#%+ bar#x 1)))
}}}
The above program fails with {{{Warning: reference to possibly unbound
identifier `bar#x'}}}. If we add bar to the import list (or remove the
reference) it will start working, even though we didn't import the
primitive module which includes a binding for {{{+}}} (ie, {{{scheme}}}).
This is due to the (sometimes?) different treatment of
{{{##core#aliased}}} and {{{##core#primitive}}}.
--
Ticket URL: <http://bugs.call-cc.org/ticket/1131#comment:3>
CHICKEN Scheme <http://www.call-with-current-continuation.org/>
CHICKEN Scheme is a compiler for the Scheme programming language.