Open sjl opened 4 years ago
Brief analysis: The function %MAYBE-STD-SETF-SLOT-VALUE-USING-CLASS
mentioned in the stack trace is:
It calls an inlined function named %SET-STD-SLOT-VECTOR-VALUE
:
The BAD-SLOT-TYPE
error is signaled from here. Likely TYPE
and TYPE-PREDICATE
are mismatched in some way.
I've got a class with a slot of type
(simple-array (unsigned-byte 54) (* *))
(the54
is not a typo, I have something that needs fifty-four bits (I'm aware it'll get upgraded to fixnum on 64-bit linux x86)). When I attempt to set this slot to the result of(make-array ...)
of the proper type with its accessor, it fails:Using
slot-value
instead of the accessor succeeds:Storing the array in a variable and using that with the accessor also succeeds: