[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Chicken-janitors] #493: set! returns its value when compiled
From: |
Chicken Trac |
Subject: |
[Chicken-janitors] #493: set! returns its value when compiled |
Date: |
Sun, 06 Feb 2011 05:59:57 -0000 |
#493: set! returns its value when compiled
----------------------+-----------------------------------------------------
Reporter: zbigniew | Owner:
Type: defect | Status: new
Priority: minor | Milestone: 4.7.0
Component: compiler | Version: 4.6.x
Keywords: |
----------------------+-----------------------------------------------------
I guess this has been true for a while (it is in 4.5.5 and 4.6.4). It
causes some light breakage, like if you use (display ...) on a TCP port,
display will sometimes return the empty string instead of void, since
there is a (set!) as the final statement in the output port lambda. So, I
assume this is unintentional.
{{{
echo "(print (set! a 3))" > set.scm
csc set.scm
./set
3
csi -script set.scm
#<unspecified>
}}}
--
Ticket URL: <http://bugs.call-cc.org/ticket/493>
Chicken Scheme <http://www.call-with-current-continuation.org/>
Chicken Scheme is a compiler for the Scheme programming language.
- [Chicken-janitors] #493: set! returns its value when compiled,
Chicken Trac <=