[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-janitors] #1437: csi needs double imports
From: |
Chicken Trac |
Subject: |
Re: [Chicken-janitors] #1437: csi needs double imports |
Date: |
Tue, 16 Jan 2018 12:18:55 -0000 |
#1437: csi needs double imports
---------------------------------+---------------------------
Reporter: mario | Owner:
Type: defect | Status: new
Priority: major | Milestone: 5.0
Component: expander | Version: 5.0
Resolution: | Keywords: double import
Estimated difficulty: |
---------------------------------+---------------------------
Comment (by felix):
Note that this problem still exists in the recent change for allowing
import of base modules in static executables (commit
81e400fc2516b64d2c768fcd5e97772ecc8e5327). I assume this is caused by a
wrong initialization order of imports. To reproduce this problem, try
this:
{{{
;; compile: bin/csc -static x.scm && ./x -:rd
(import srfi-1)
(print (assoc 'a '((a . 1)) eq?))
(print (eval '(begin (import srfi-1) (assoc 'a '((a . 1)) eq?))))
}}}
The first call to assoc succeeds, the second fails with an error message.
--
Ticket URL: <https://bugs.call-cc.org/ticket/1437#comment:7>
CHICKEN Scheme <https://www.call-cc.org/>
CHICKEN Scheme is a compiler for the Scheme programming language.
- [Chicken-janitors] #1437: csi needs double imports shadowed procedures, Chicken Trac, 2018/01/02
- Re: [Chicken-janitors] #1437: csi needs double imports (was: csi needs double imports shadowed procedures), Chicken Trac, 2018/01/02
- Re: [Chicken-janitors] #1437: csi needs double imports, Chicken Trac, 2018/01/06
- Re: [Chicken-janitors] #1437: csi needs double imports, Chicken Trac, 2018/01/07
- Re: [Chicken-janitors] #1437: csi needs double imports, Chicken Trac, 2018/01/07
- Re: [Chicken-janitors] #1437: csi needs double imports, Chicken Trac, 2018/01/07
- Re: [Chicken-janitors] #1437: csi needs double imports, Chicken Trac, 2018/01/07
- Re: [Chicken-janitors] #1437: csi needs double imports,
Chicken Trac <=