[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Chicken-janitors] Re: #19: define-syntax on imported syntax redefines t
From: |
Chicken Trac |
Subject: |
[Chicken-janitors] Re: #19: define-syntax on imported syntax redefines that syntax in the original module |
Date: |
Thu, 07 May 2009 10:23:34 -0000 |
#19: define-syntax on imported syntax redefines that syntax in the original
module
-------------------+--------------------------------------------------------
Reporter: ashinn | Owner: felix
Type: defect | Status: closed
Priority: minor | Component: compiler
Version: 4.0.1 | Resolution: wontfix
Keywords: |
-------------------+--------------------------------------------------------
Changes (by felix):
* status: assigned => closed
* resolution: => wontfix
Comment:
As the module system does merely rename identifiers (and does not
instantiate environments), this behaviour is actually consistent:
redefinition of a global value binding changes that value globally.
Redefinition of a syntax binding changes the meaning of the syntax in the
compiler-run or interpreter session. One can still consider this a bug
(and I'm not overly happy with this, since users will probably expect
something else), but the current behaviour is, technically, the proper
thing to do.
--
Ticket URL: <http://www.irp.oist.jp/trac/chicken/ticket/19#comment:2>
Chicken Scheme <http://www.call-with-current-continuation.org/>
Chicken Scheme is a compiler for the Scheme programming language.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Chicken-janitors] Re: #19: define-syntax on imported syntax redefines that syntax in the original module,
Chicken Trac <=