bug-kawa
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-kawa] [bug #28860] Strings as identifiers


From: Helmut Eller
Subject: [Bug-kawa] [bug #28860] Strings as identifiers
Date: Wed, 10 Feb 2010 21:22:59 +0000
User-agent: Opera/9.80 (X11; Linux i686; U; en) Presto/2.2.15 Version/10.10

URL:
  <http://savannah.gnu.org/bugs/?28860>

                 Summary: Strings as identifiers
                 Project: Kawa
            Submitted by: ellerh
            Submitted on: Wed 10 Feb 2010 09:22:58 PM GMT
                Category: Scheme language
                Severity: 3 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

This code:

(let-syntax ((foo
              (syntax-rules ()
                ((_ x y)
                 (let ((x y))
                   (list x x))))))
  (foo "a" 1))

evaluates to ("a" "a").

I think it should be a syntax error instead.

Similarly: (let (("x" 1)) "x") => "x"
should also be a syntax error.

That's with Kawa 1.9.90 (revision 6489M)




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?28860>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]