Subject: Re: bug#18004: export does not check that its arguments are symbols or pairs of symbols
From: Mark H Weaver <[email-masked]>
To: Tobias Brandt <[email-masked]>
Cc: [email-masked]
Date: Sun, 13 Jul 2014 09:37:16 -0400
List-Id: <debbugs-submit.debbugs.gnu.org>

Hi,

Tobias Brandt <[email-masked]> 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