Opened 2 years ago

Last modified 7 months ago

#382 new defect

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

Reported by: mevenson Owned by:
Priority: major Milestone: 1.5.0
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.

Subtickets (add)

Change History (2)

comment:1 Changed 2 years ago by mevenson

  • Version changed from 1.3.0-dev to 1.3.1

comment:2 Changed 7 months ago by mevenson

  • Milestone changed from 1.4.0 to 1.5.0

Ticket retargeted after milestone closed

Note: See TracTickets for help on using tickets.