Opened 9 years ago

Last modified 10 months ago

#382 new defect

Error compiling com.informatimago.common-lisp.unix.option

Reported by: Mark Evenson Owned by:
Priority: major Milestone: 1.9.3
Component: compiler Version: 1.3.1
Keywords: compiler quicklisp com.informatimago Cc:
Parent Tickets:

Description

In http://article.gmane.org/gmane.lisp.armedbear.devel/3335 and http://article.gmane.org/gmane.lisp.armedbear.devel/3349 Pascal reports on the compiler failing on a specific kind of DEFSTRUCT and DEFCLASS that doesn't easily factor into a standalone case:

While compiling the package com.informatimago.common-lisp.unix.option, abcl 1.3.1 fails with the following error, apparently on:

(defstruct option
 "An option structure."
 keys arguments documentation function)

It fails similarly to compile com.informatimago.tools.script, which contains this other (unrelated) structure:

(defstruct option
 keys arguments documentation function)

It can also be reproduced with:

abcl --noinit
(load "quicklisp/setup.lisp")
(ql:quickload :com.informatimago.common-lisp.cesarum) ; dependency
(ql:quickload :com.informatimago.common-lisp.unix :verbose t)

but not with:

(compile-file #P"~/quicklisp/dists/quicklisp/software/com.informatimago-20141217-git/common-lisp/unix/option.lisp" :verbose t :print t)

Actually, the error occurs also when I replace defstruct by defclass.
However, I could obtain a slime backtrace. So it seems the error is produced by the compiler when compiling:

option> (compile 'help-wrapper
                (lambda (#1=#:G99340)
                  (if (<= 0 (length #1#))
                      (destructuring-bind (&rest #2=#:G99341) #1# (funcall (quote #.(function list))) #2#)
                      (error "Missing arguments: ~{~A ~}" (subseq (quote nil) (length #1#))))))
help-wrapper
nil
nil

in (JVM::EMIT-CONSTRUCTOR-LAMBDA-LIST (#:G99340))

but I can't reproduced it stand-alone.

Change History (14)

comment:1 Changed 9 years ago by Mark Evenson

Version: 1.3.0-dev1.3.1

comment:2 Changed 8 years ago by Mark Evenson

Milestone: 1.4.01.5.0

Ticket retargeted after milestone closed

comment:3 Changed 7 years ago by Mark Evenson

Milestone: 1.5.01.6.0

Ticket retargeted after milestone closed

comment:4 Changed 4 years ago by Mark Evenson

Milestone: 1.6.01.6.1

Ticket retargeted after milestone closed

comment:5 Changed 4 years ago by Mark Evenson

Milestone: 1.6.11.6.2

Ticket retargeted after milestone closed

comment:6 Changed 4 years ago by Mark Evenson

Milestone: 1.6.21.7.0

comment:7 Changed 4 years ago by Mark Evenson

Milestone: 1.7.01.7.1

Ticket retargeted after milestone closed

comment:8 Changed 4 years ago by Mark Evenson

Milestone: 1.7.11.7.2

Ticket retargeted after milestone closed

comment:9 Changed 4 years ago by Mark Evenson

Milestone: 1.7.21.8.0

Milestone renamed

comment:10 Changed 3 years ago by Mark Evenson

Milestone: 1.8.01.8.1

Ticket retargeted after milestone closed

comment:11 Changed 2 years ago by Mark Evenson

Milestone: 1.8.11.9.0

comment:12 Changed 15 months ago by Mark Evenson

Milestone: 1.9.01.9.1

comment:13 Changed 14 months ago by Mark Evenson

Milestone: 1.9.11.9.2

comment:14 Changed 10 months ago by Mark Evenson

Milestone: 1.9.21.9.3
Note: See TracTickets for help on using tickets.