Custom Query (1030 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (811 - 813 of 1030)

Ticket Resolution Summary Owner Reporter
#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.

#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.

#268 fixed encode/decode-universal-time with highly fractional time-zones Gary Byers gz
Description
? (decode-universal-time
    (encode-universal-time 10 10 10 1 1 2000 1787/360) 1787/360)
0
61/6
10
1
1
2000
5
NIL
1787/360

The first two values are wrong.

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