GNU bug report logs - #18004
export does not check that its arguments are symbols or pairs of symbols

Previous Next

Package: guile;

Reported by: Tobias Brandt <tob.brandt <at> gmail.com>

Date: Sat, 12 Jul 2014 17:21:01 UTC

Severity: normal

Done: Mark H Weaver <mhw <at> netris.org>

Bug is archived. No further changes may be made.

Full log


Message #10 received at 18004-done <at> debbugs.gnu.org (full text, mbox):

From: Mark H Weaver <mhw <at> netris.org>
To: Tobias Brandt <tob.brandt <at> gmail.com>
Cc: 18004-done <at> debbugs.gnu.org
Subject: Re: bug#18004: export does not check that its arguments are symbols
 or pairs of symbols
Date: Sun, 13 Jul 2014 09:37:16 -0400
Hi,

Tobias Brandt <tob.brandt <at> gmail.com> writes:
> Guile happily compiles the following module:
>
> (define-module (test))
> (define (foo) #t)
> (export (foo))
>
> This exports foo as (), because (foo) = (foo . ()) and export treats
> pairs as renaming.

This is already fixed in the latest release (2.0.11), commit
df3acd296e7149630fd6030aced6331ae6dd424b.

I'm closing this bug, but feel free to reopen if there's still a
problem.

      Thanks!
        Mark




This bug report was last modified 10 years and 317 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.