Custom Query (1030 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (391 - 393 of 1030)

Ticket Resolution Summary Owner Reporter
#270 duplicate (setf values) is not supposed to flatten out the values Gary Byers gz
Description
? (let (a b) (setf (values (values a b)) (values 1 2)) (list a b))
(1 2)
? 

Should return (1 nil), by my reading of http://www.lispworks.com/documentation/HyperSpec/Body/05_abc.htm.

#271 fixed No error for unknown defclass class options Gary Byers gz
Description
? (defclass erroneous-class.13 ()
   (a b c)
   (#.(gensym)))
#<STANDARD-CLASS ERRONEOUS-CLASS.13>
? (make-instance 'erroneous-class.13)
#<ERRONEOUS-CLASS.13 #x300044399DDD>
?

The spec says a program-error is required for unsupported options. This may have been augmented by the MOP, I don't know. But in any case, some indication of a problem should be given at some point.

After a little poking about, it seems like the problem is this method:

 (defmethod initialize-instance :before ((class class) &key &allow-other-keys)
  (setf (%class.ctype class) (make-class-ctype class)))

The &allow-other-keys in this method causes keyword arg checking for class objects to be disabled. I wonder it it would be worthwhile (or even allowed) to treat methods that have &allow-other-keys without &rest as not disabling initialization arg checking.

#272 invalid (coerce (/ pi 2) 'single-float) incorrect Gary Byers gz
Description
? (/ pi 2)
1.5707963267948966D0
? (coerce * 'single-float)
1.5707964
? 
Batch Modify
Note: See TracBatchModify for help on using batch modify.
Note: See TracQuery for help on using queries.