#1 In src/types.lisp there is following code in function MEM-REF:
....
(if (aggregatep parsed-type)
(if (bare-struct-type-p parsed-type)
....
and its compiler macro has similiar code.
However, the gf bare-struct-type-p has no method for foreign-array-type whose objects will obviously pass the aggregatep test. So it breaks some code (on ccl).
I suggest that case be added as a method too?(What should it (and even more user-defined types) return?) Or should the checking code be modified here? (As i understood, the whole bare struct mechanism is for compatibility...)