Custom Query (1030 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (784 - 786 of 1030)

Ticket Resolution Summary Owner Reporter
#853 wontfix DEFVAR after DEFCONSTANT does not signal an error when no initial value provided Ron Garret
Description

SLSIA.

Welcome to Clozure Common Lisp Version 1.7-dev-r14715M-trunk  (DarwinX8664)!
? (defconstant x 1)
X
? (defvar x)  ; Should signal an error but doesn't
X
? (defvar x 1)
> Error: Can't redefine constant X .
#683 fixed DEFSTRUCT slot type checking and complex FUNCTION types Gary Byers
Description
? (defun required-argument () (error "missing slot initform"))

? (defstruct foo
    (a (required-argument) :type (function (integer) t)))

? (make-foo :a #'oddp)
=> whoops.
#750 fixed DEFSTRUCT breakage introduced in 14305 R. Matthew Emerson Ivan Shvedunov
Description

The attached code was extracted from cl-yacc which stopped working after commit 14305 (noticed it when trying to compile plexippus xpath). cl-yacc itself was tested for this problem only on ARM at the moment but the test code was also tried on x86_64 with similar results. The strict type checks for structure slots accessor break cl-yacc code because defstruct stores invalid type info for accessors for inherited slots if the inheriting structure uses the same :conc-name as the :include'd one. I guess cl-yacc may not be the only victim of the problem. Sorry, no patch this time as perhaps DEFSTRUCT stuff needs to be reworked and you know better how it should look after that.

Another related problem I noticed is that REMOVE-STRUCTURE-DEFS function invoked by DEFSTRUCT expansion removes inherited accessors too and seems like after that they don't always get redefined.

Batch Modify
Note: See TracBatchModify for help on using batch modify.
Note: See TracQuery for help on using queries.