chicken-janitors
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-janitors] #1363: when compiled, set! will clobber previous


From: Chicken Trac
Subject: Re: [Chicken-janitors] #1363: when compiled, set! will clobber previous lambda-info's
Date: Mon, 03 Jul 2017 20:15:06 -0000

#1363: when compiled, set! will clobber previous lambda-info's
-----------------------------------+---------------------
            Reporter:  kristianlm  |      Owner:
                Type:  defect      |     Status:  new
            Priority:  minor       |  Milestone:  someday
           Component:  unknown     |    Version:
          Resolution:              |   Keywords:
Estimated difficulty:              |
-----------------------------------+---------------------

Comment (by LemonBoy):

 What happens here is that when we walk trough the database containing the
 informations gathered by the first analysis pass we only have the latest
 value that's been assigned to a given variable, hence set-real-name!
 "wires" the second lambda to the name 'foo but not the first one.
 This may be fixed by calling set-real-name! in assign so that all the
 lambda ids are correctly associated to the variable it is bound to. This
 may have some adverse side effects so take this suggestion with a grain of
 salt.

--
Ticket URL: <https://bugs.call-cc.org/ticket/1363#comment:2>
CHICKEN Scheme <https://www.call-cc.org/>
CHICKEN Scheme is a compiler for the Scheme programming language.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]