bad expansion from (setf (foreign-slot-value ..)) for aggregate slots

Bug #1474908 reported by 3b
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
CFFI
New
Undecided
Unassigned

Bug Description

(defcstruct aaa
  (:b (:struct cc)))

(setf (foreign-slot-value pointer 'aaa :b) :b)

expands to
(LET* ((#:STORE1099 :B))
  (SETF (CFFI::FOREIGN-STRUCT-SLOT-VALUE pointer ':B) #:STORE1099)
  #:STORE1099)

wihle FOREIGN-STRUCT-SLOT-VALUE expects a slot object for 2nd argument

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.