[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#18004: export does not check that its arguments are symbols or pairs
From: |
Mark H Weaver |
Subject: |
bug#18004: export does not check that its arguments are symbols or pairs of symbols |
Date: |
Sun, 13 Jul 2014 09:37:16 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) |
Hi,
Tobias Brandt <address@hidden> 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