CLIM mail archive

[Prev][Next][Index][Thread]

Possible bug in Clim-2 for Allegro



In Allegro CL 4.2.beta2.0 with Clim 2

(setf (stream-cursor-position stream) (values x y))

Macroexpands to:

(LET* ((#:STREAM-TEMP-1 STREAM) (#:X-TEMP-2 (VALUES X Y)))
  (FUNCALL #'CLIM:UTILS::|SETF* CLIM:STREAM-CURSOR-POSITION|
           #:X-TEMP-2 #:Y-TEMP-3 #:STREAM-TEMP-1))

Where it should expand to something like:

(LET* ((#:STREAM-TEMP-1 STREAM))
  (MULITPLE-VALUE-BIND (#:X-TEMP-2 #:Y-TEMP-3) (VALUES X Y)
    (FUNCALL #'CLIM:UTILS::|SETF* CLIM:STREAM-CURSOR-POSITION|
             #:X-TEMP-2 #:Y-TEMP-3 #:STREAM-TEMP-1)))

Spot checking indicates that this is the behavior of all the
multiple-valued defgeneric*, defmethod* and setf* code.

Adam


Follow-Ups:

Main Index | Thread Index