chicken-janitors
[Top][All Lists]
Advanced

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

#1705: Module names should be unique


From: Chicken Trac
Subject: #1705: Module names should be unique
Date: Tue, 21 Jul 2020 07:34:10 -0000

#1705: Module names should be unique
-------------------------------------+-------------------------------------
            Reporter:  sjamaan       |       Type:  enhancement
              Status:  new           |   Priority:  minor
           Milestone:  5.4           |  Component:  compiler
             Version:  5.2.0         |   Keywords:  modules, encapsulation,
Estimated difficulty:  medium        |  name conflicts
-------------------------------------+-------------------------------------
 When you compile a program which uses a module and defines a module of the
 same name, the compiler should probably give a warning or error.

 A practical (simplified) example of this which alicemaz ran into:

 http://paste.call-cc.org/paste?id=59272bcd1450867b3db94a2b7a6148fbd39d4f44

 I think we can't really do this in the interpreter because re-evaluating
 an existing module should be possible on the REPL (think incremental
 development from Emacs etc).

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