[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-janitors] #1506: module importing itself does not result in
From: |
Chicken Trac |
Subject: |
Re: [Chicken-janitors] #1506: module importing itself does not result in an error (was: chicken-install produces dependency cycles) |
Date: |
Sun, 02 Sep 2018 09:58:57 -0000 |
#1506: module importing itself does not result in an error
-----------------------------------+----------------------
Reporter: kristianlm | Owner:
Type: defect | Status: new
Priority: major | Milestone: 5.1
Component: core tools | Version: 5.0.0rc1
Resolution: | Keywords:
Estimated difficulty: |
-----------------------------------+----------------------
Changes (by sjamaan):
* milestone: 5.0 => 5.1
Comment:
It looks like a bug in the egg: The implementation of type-errors-numbers
imports its own module!
The weird thing is that we don't get a warning or error while compiling
this module. The compiler should give an error about that I think. It's
not really a new bug, though. It's not necessary to fix this for 5.0.
A simplified reproduction case:
{{{
(module foo () (import foo))
}}}
And then
{{{
csc -J -c -static -emit-link-file foo.link foo.scm
}}}
--
Ticket URL: <https://bugs.call-cc.org/ticket/1506#comment:2>
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] |
- Re: [Chicken-janitors] #1506: module importing itself does not result in an error (was: chicken-install produces dependency cycles),
Chicken Trac <=