unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
From: Nala Ginrut <nalaginrut@gmail.com>
To: Mark H Weaver <mhw@netris.org>
Cc: 18245@debbugs.gnu.org, request@debbugs.gnu.org
Subject: bug#18245: [master branch] Useless imported module cause strange problem
Date: Tue, 12 Aug 2014 09:46:47 +0800	[thread overview]
Message-ID: <CAPjoZoec3xYNQS4-fNCzin5iXoT_NsFd3mrvVDVkgpwuD_giOg@mail.gmail.com> (raw)
In-Reply-To: <874mxjqc13.fsf@yeeloong.lan>

[-- Attachment #1: Type: text/plain, Size: 797 bytes --]

2014年8月11日 下午11:31于 "Mark H Weaver" <mhw@netris.org>写道:
>
> tags 18245 notabug
> close 18245
> thanks
>

> The problem is that srfi-1 exports a 'drop' procedure, and 'drop' is
> also used as a syntax-rules literal in your macros.  Literals are
> matched as follows: if the literal identifier has the same name and the
> same binding where the macro is defined and where it is used, then
> there's a match.  If the identifier is not bound in either place, then
> there's also a match.
>

Thanks for explaining!
The issue can't be reproduced in stable-2.0, so I suspected it's a
potential bug.

>
> I recommend choosing literals that are not likely to be bound in modules
> that use your sql macros.
>

Or import srfi-1 with a proper prefix :-)

Thanks!

[-- Attachment #2: Type: text/html, Size: 1090 bytes --]

      reply	other threads:[~2014-08-12  1:46 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-11  9:14 bug#18245: [master branch] Useless imported module cause strange problem Nala Ginrut
2014-08-11 15:30 ` Mark H Weaver
2014-08-12  1:46   ` Nala Ginrut [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAPjoZoec3xYNQS4-fNCzin5iXoT_NsFd3mrvVDVkgpwuD_giOg@mail.gmail.com \
    --to=nalaginrut@gmail.com \
    --cc=18245@debbugs.gnu.org \
    --cc=mhw@netris.org \
    --cc=request@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).