Opened 10 years ago
Last modified 18 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 10 years ago by
Version: | 1.3.0-dev → 1.3.1 |
---|
comment:2 Changed 8 years ago by
Milestone: | 1.4.0 → 1.5.0 |
---|
comment:6 Changed 5 years ago by
Milestone: | 1.6.2 → 1.7.0 |
---|
comment:11 Changed 3 years ago by
Milestone: | 1.8.1 → 1.9.0 |
---|
comment:12 Changed 22 months ago by
Milestone: | 1.9.0 → 1.9.1 |
---|
comment:13 Changed 22 months ago by
Milestone: | 1.9.1 → 1.9.2 |
---|
comment:14 Changed 18 months ago by
Milestone: | 1.9.2 → 1.9.3 |
---|
Ticket retargeted after milestone closed