chicken-janitors
[Top][All Lists]
Advanced

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

Re: #1757: Reexport behaving inconsistently


From: Chicken Trac
Subject: Re: #1757: Reexport behaving inconsistently
Date: Wed, 14 Jul 2021 06:32:31 -0000

#1757: Reexport behaving inconsistently
---------------------------------------+--------------------
            Reporter:  Idiomdrottning  |      Owner:  (none)
                Type:  defect          |     Status:  new
            Priority:  major           |  Milestone:  5.3
           Component:  unknown         |    Version:  5.2.0
          Resolution:                  |   Keywords:
Estimated difficulty:                  |
---------------------------------------+--------------------

Comment (by sjamaan):

 I think the problem is in {{{##sys#register-compiled-modules}}} where it
 merges the syntax envs. I think this should not be done for macros that
 have been reexported - those should keep their original syntactic
 environment, unmodified.

 Also, the syntactic envs from those macros should not be thrown into the
 module's total environment itself, I think. But that requires some more
 testing and experimentation. But it seems we already have quite a few
 tests for reexports, so maybe tweaking the code will trigger errors from
 which we can glean the correct behaviour.

-- 
Ticket URL: <https://bugs.call-cc.org/ticket/1757#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]