Custom Query (1030 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (220 - 222 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.

#272 invalid (coerce (/ pi 2) 'single-float) incorrect Gary Byers gz
Description
? (/ pi 2)
1.5707963267948966D0
? (coerce * 'single-float)
1.5707964
? 
#274 fixed EXP doesn't signal overflow [on Mac] Gary Byers gz
Description
? (exp (+ 10 (log most-positive-single-float)))
1E++0

This was with dx86cl64 on my MacBook Pro. It works ok (signals FLOATING-POINT-OVERFLOW) with lx86cl64.

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