[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-janitors] #1309: CHICKEN allows misplaced internal defines,
From: |
Chicken Trac |
Subject: |
Re: [Chicken-janitors] #1309: CHICKEN allows misplaced internal defines, which live on outside the body |
Date: |
Thu, 08 Dec 2016 20:39:34 -0000 |
#1309: CHICKEN allows misplaced internal defines, which live on outside the body
---------------------------------------+--------------------------------
Reporter: ai-artisan | Owner:
Type: defect | Status: new
Priority: critical | Milestone: 5.0
Component: core libraries | Version: 4.11.0
Resolution: | Keywords: record type define
Estimated difficulty: hard |
---------------------------------------+--------------------------------
Comment (by sjamaan):
OK, this is pretty bizarre: in several places in the tests, we use
functors and modules in an expression context.
{{{
(let ((foo (module blah () 1))) foo)
=> 1
}}}
In this regard, I'm going to say {{{module}}} is like {{{eval}}} in that
it resets the state to a fresh "toplevel context" for the
evaluation/compilation of its body. Very weird!
--
Ticket URL: <https://bugs.call-cc.org/ticket/1309#comment:14>
CHICKEN Scheme <https://www.call-cc.org/>
CHICKEN Scheme is a compiler for the Scheme programming language.
- Re: [Chicken-janitors] #1309: CHICKEN allows misplaced internal defines, which live on outside the body,
Chicken Trac <=