[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Chicken-janitors] #1605: Display compiler warnings for macros with miss
From: |
Chicken Trac |
Subject: |
[Chicken-janitors] #1605: Display compiler warnings for macros with missing imports |
Date: |
Wed, 10 Apr 2019 10:07:55 -0000 |
#1605: Display compiler warnings for macros with missing imports
-------------------------+--------------------------------
Reporter: wasamasa | Owner:
Type: enhancement | Status: new
Priority: minor | Milestone: someday
Component: compiler | Version: 5.0.0
Keywords: | Estimated difficulty: hard
-------------------------+--------------------------------
The compiler already displays warnings for procedures with missing imports
which is super useful, especially when compiling code that's not wrapped
in a module (wrapping it in a module will turn the warnings into errors).
However there is no equivalent for macros with missing imports and neither
does wrapping them into a module produce a warning or error. This leads
to less than obvious errors if you later import such a macro into other
code and compile it, you'll then get an error for the import you forgot to
add for the macro's module. See #1603 for an example.
--
Ticket URL: <https://bugs.call-cc.org/ticket/1605>
CHICKEN Scheme <https://www.call-cc.org/>
CHICKEN Scheme is a compiler for the Scheme programming language.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Chicken-janitors] #1605: Display compiler warnings for macros with missing imports,
Chicken Trac <=