[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Chicken-hackers] serious bug ? in units and set!
From: |
Thomas Bushnell BSG |
Subject: |
[Chicken-hackers] serious bug ? in units and set! |
Date: |
Mon, 21 Sep 2009 18:31:48 -0700 |
test2.scm contains:
(declare (unit test2) (export blah))
(define (blah) (display (format "foo: ~s\n" foo)) (set! foo 'whiz))
main.scm contains:
(declare (uses test2) (export foo))
(define foo #t)
(blah)
Compile with csc -o foo test2.scm main.scm and run it. And the output
is:
foo: whiz
On Chicken Scheme 3.4.0 in current Debian unstable.
If all these definitions are put in one file, then the output is
foo: #t
as expected.
- [Chicken-hackers] serious bug ? in units and set!,
Thomas Bushnell BSG <=
- Re: [Chicken-hackers] serious bug ? in units and set!, Jim Ursetto, 2009/09/22
- Re: [Chicken-hackers] serious bug ? in units and set!, Thomas Bushnell BSG, 2009/09/22
- Re: [Chicken-hackers] serious bug ? in units and set!, Thomas Chust, 2009/09/22
- Re: [Chicken-hackers] serious bug ? in units and set!, Thomas Bushnell BSG, 2009/09/22
- Re: [Chicken-hackers] serious bug ? in units and set!, Thomas Chust, 2009/09/22
- Re: [Chicken-hackers] serious bug ? in units and set!, Jim Ursetto, 2009/09/22
- Re: [Chicken-hackers] serious bug ? in units and set!, Thomas Chust, 2009/09/22
- Re: [Chicken-hackers] serious bug ? in units and set!, Jim Ursetto, 2009/09/22