I restored the lexical context, but the interpreted function isDouglas Katzman <firstname.lastname@example.org> writes:
> (let ((a 0)) (defstruct foo (id (incf a)))) ; loses lexical context
> (let((sb-ext:*evaluator-mode* :interpret)) (load"thing.fasl"))
> #'foo-id => #<INTERPRETED-FUNCTION ...>
> I think would be considered surprising behavior by most folks.
something with which most folks have to deal with.
There seems to be no nice way of creating a LAYOUT without a classoid
and dumping it into a fasl, everything expects layout-classoid to be
set. If that could be done, then everything can be compiled on the
With best regards, Stas.