chicken-janitors
[Top][All Lists]
Advanced

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

Re: [Chicken-janitors] #1376: hide/block-global declaration doesn't hide


From: Chicken Trac
Subject: Re: [Chicken-janitors] #1376: hide/block-global declaration doesn't hide exports
Date: Mon, 05 Jun 2017 07:38:59 -0000

#1376: hide/block-global declaration doesn't hide exports
---------------------------------+---------------------
            Reporter:  megane    |      Owner:
                Type:  defect    |     Status:  new
            Priority:  minor     |  Milestone:  someday
           Component:  compiler  |    Version:  5.0
          Resolution:            |   Keywords:  modules
Estimated difficulty:  medium    |
---------------------------------+---------------------

Comment (by evhan):

 Replying to [comment:1 sjamaan]:
 >  think we should either error/warn about this situation or attempt to
 indeed do what you think it would do

 +1, it would be best to make declare "just work" for this case.

 > Finally, the {{{hide}}} declaration is not scoped, so it should really
 read {{{(declare (hide m1#foo m1#bar))}}} to have the "intended" effect.
 The hide declaration effectively ignores undefined variables.

 Unrelated to this ticket, but the hide declaration does actually respect
 module aliasing in this example, and in general.

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