bug-kawa
[Top][All Lists]
Advanced

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

[Bug-kawa] [bug #43233] Dumping circular literals


From: Helmut Eller
Subject: [Bug-kawa] [bug #43233] Dumping circular literals
Date: Tue, 16 Sep 2014 13:39:46 +0000
User-agent: Opera/9.80 (X11; Linux i686) Presto/2.12.388 Version/12.15

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

                 Summary: Dumping circular literals
                 Project: Kawa
            Submitted by: ellerh
            Submitted on: Tue 16 Sep 2014 01:39:45 PM GMT
                Category: None
                Severity: 3 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

Apparently Kawa can't dump circular literals.  Given this file:

(define (foo) '#1=(0 . #1#))

the compiler aborts with an error:

shell> kawa --version
Kawa 1.14.1 (revision 7749:8044M)
shell> kawa -C test.scm 
(compiling test.scm to test)
Exception in thread "main" java.lang.Error: no method to construct ClassType
gnu.lists.PairWithPosition
        at gnu.expr.LitTable.error(LitTable.java:103)
        at gnu.expr.LitTable.emit(LitTable.java:656)
        at gnu.expr.LitTable.emit(LitTable.java:73)
        at gnu.expr.Compilation.generateBytecode(Compilation.java:2250)
        at gnu.expr.Compilation.process(Compilation.java:1990)
        at gnu.expr.ModuleInfo.loadByStages(ModuleInfo.java:309)
        at gnu.expr.ModuleInfo.loadByStages(ModuleInfo.java:290)
        at kawa.repl.compileFiles(repl.java:824)
        at kawa.repl.processArgs(repl.java:444)
        at kawa.repl.main(repl.java:871)
[Exit 1]






    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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