This is the mail archive of the
guile@sources.redhat.com
mailing list for the Guile project.
Re: bug in modules?
- To: Ivan Toshkov <ivant at ifao dot net>
- Subject: Re: bug in modules?
- From: Marius Vollmer <mvo at zagadka dot ping dot de>
- Date: 06 Aug 2000 23:32:14 +0200
- Cc: guile at sourceware dot cygnus dot com, bug-guile at gnu dot org
- References: <20000806163112.A1341@www.vizion.net>
[ Please post bug reports to <bug-guile@gnu.org>. ]
Ivan Toshkov <ivant@ifao.net> writes:
> Here is the test module, with missing closing paren:
>
> ---------------
> (define-module (test))
>
> (define (some-buggy-proc a)
> a
>
> ---------------
>
> $ guile
> guile> (version)
> "1.4"
> guile> (use-modules (test))
> ERROR: In procedure list:
> ERROR: end of file in
I think the most useful thing to add here is the name of the file that
has the premature end. This name might not be apparent when loading
modules. I have done this.
> ABORT: (misc-error)
> guile> (use-modules (test))
It is a consequence of how the module system works that you do not
receive a second error message here. The module is already loaded
(although not completely) and it will not be loaded again when you
request it another time.
One error message should be enough, I think.