bugKawa - Bugs: bug #39501, invalid use of unquote-splicing

 
 

bug #39501: invalid use of unquote-splicing

Submitted by:  None
Submitted on:  Wed 17 Jul 2013 12:34:15 AM UTC  
 
Category: Code generationSeverity: 3 - Normal
Item Group: Unexpected resultStatus: Fixed
Privacy: PublicAssigned to: Per Bothner <bothner>
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Wed 17 Jul 2013 06:24:28 AM UTC, comment #1:

Thanks. I checked in a fix for this, along with a test-case.

Per Bothner <bothner>
Project AdministratorIn charge of this item.
Wed 17 Jul 2013 12:34:15 AM UTC, original submission:

Use of unquote-splicing in nested quasiquote yields complaints from Kawa where I don't think there should be any problem. Comparing a Gambit REPL session to a Kawa REPL session:

Gambit:

>(define-macro (a)

`(define-macro (b . x) `(+ 1 ,@x)))

>(a)
>(b 1 2 3)

7

Kawa:

>(define-macro (a)

(define-macro (b . x) `(+ 1 ,@x)))

>(a)

/dev/stdin:2:6: invalid used of unquote-splicing in quasiquote template

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by bothner (Posted a comment)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 17 Jul 2013 06:24:28 AM UTCbothnerStatusNone=>Fixed
      Assigned toNone=>bothner
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1