Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LispWorks specific: coercing slots requiring switching accessors optimzation off #7

Open
Yehouda opened this issue May 26, 2020 · 0 comments

Comments

@Yehouda
Copy link

Yehouda commented May 26, 2020

The slot coercing that is implemented in set-slot-value-using-class.lisp relies on slot setting always going through (setf closer-mop:slot-value-using-class). LispWorks by default optimizes slots access so it doesn't.

To force writing through (setf closer-mop:slot-value-using-class) , classes need to specify :optimize-slot-access nil in the class options. See: http://www.lispworks.com/documentation/lw71/LW/html/lw-389.htm#pgfId-1039223.

As it is, the test test-slot-value-coersion fails on LispWorks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant