#238: Bad error when reading #S(...) for a partially defined structure -----------------------+---------------------------------------------------- Reporter: sboukarev | Owner: ehuelsmann Type: defect | Status: new Priority: minor | Milestone: Component: compiler | Version: Keywords: | -----------------------+---------------------------------------------------- {{{ (defstruct struct a) (defvar *t* #S(struct :a 1)) }}} Running compile-file on it results in "The assertion NIL failed." At compile-time defstruct lets the compiler know that the structure exists, but the constructor and predicate functions are not defined until load time. #S tries to call a stump version of one of these functions. After exiting the debugger calling either (make-struct) or (struct-p) results in the same assertion failure -- Ticket URL: <http://trac.common-lisp.net/armedbear/ticket/238> armedbear <http://common-lisp.net/project/armedbear> armedbear