bug-kawa
[Top][All Lists]
Advanced

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

[Bug-kawa] [bug #15725] anon classes defined by (object ...) not being w


From: tk
Subject: [Bug-kawa] [bug #15725] anon classes defined by (object ...) not being written
Date: Sun, 12 Feb 2006 23:38:08 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.1) Gecko/20060124 Firefox/1.5.0.1

Follow-up Comment #1, bug #15725 (project kawa):


original description of bug wasn't accurate. problem is that
when the (object ...) form appears in a source file, the
classes are named differently in the compiled archive, in 
a way that the kawa.load.loadCompiled doesn't expect.



$ cat bug.scm
(define (foo)
  #f)

#|
(define (foo2)
  (object ()
   ((fun) <int>
    (+ 1 2))))
|#

$ rlwrap java -jar kawa-1.8.1alpha.jar 
#|kawa:1|# (compile-file "bug.scm" "bug.zip")


$ unzip -t bug.zip
Archive:  bug.zip
    testing: atFileLevel.class        OK
No errors detected in compressed data of bug.zip.




$ cat bug.scm
(define (foo)
  #f)

(define (foo2)
  (object ()
   ((fun) <int>
    (+ 1 2))))


#|kawa:2|# 
#|kawa:3|# (compile-file "bug.scm" "bug.zip")
#|kawa:4|# 
[3]+  Stopped                 rlwrap java -jar kawa-1.8.1alpha.jar
$ unzip -t bug.zip
Archive:  bug.zip
    testing: bug$0.class              OK
    testing: bug.class                OK
No errors detected in compressed data of bug.zip.


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=15725>

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





reply via email to

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