bugKawa - Bugs: bug #40822, Exporting macro-defined macro:...

 
 

bug #40822: Exporting macro-defined macro: Internal error

Submitter:  John Tobey <jtobey>
Submitted:  Fri 06 Dec 2013 02:33:47 AM UTC
   
 
Category:  Code generation Severity:  3 - Normal
Item Group:  Compile-time exception Status:  Fixed
Privacy:  Public Assigned to:  bothner
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Mon 09 Dec 2013 05:24:43 PM UTC, comment #2: 

Wonderful job!  I am fresh out of bugs.

John Tobey <jtobey>
Mon 09 Dec 2013 07:03:17 AM UTC, comment #1: 

I checked in a fix for this, along with the testcase.

I started going in this direction fixing a previous bug, but it turned out that previous bug could be fixed more simplify.  But now we have a slightly more complex testcase ...

Per Bothner <bothner>
Group administrator
Fri 06 Dec 2013 02:33:47 AM UTC, original submission:  

Thanks for the ellipsis fix!  How about this?


(module-export macro2)
(define-syntax macro1
  (syntax-rules ()
    ((macro1 name)
     (define-syntax name
       (syntax-rules ()
         ((name) #f))))))
(macro1 macro2)



$ kawa -C bug.scm
(compiling bug.scm to bug)
<unknown>:1:16: Literals: Internal error:java.lang.Error: kawa.lang.SyntaxForms$SimpleSyntaxForm does not implement Externalizable


John Tobey <jtobey>

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by bothner (Posted a comment)
  • -email is unavailable- added by jtobey (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2013-12-09 bothner StatusNone Fixed
        Assigned toNone bothner
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-4b48.
    Corresponding source code