-
-
Notifications
You must be signed in to change notification settings - Fork 32
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
Effective slots #159
base: master
Are you sure you want to change the base?
Effective slots #159
Conversation
This is causing issues for me with compute-effective-slot-definition here https://github.com/sbcl/sbcl/blob/master/src/pcl/std-class.lisp#L1278 See fukamachi#154 for more details.
Work is in progress for the mito.dao.* package classes |
…ach taken to dao-table-view and dao-table-mixin. The actual definitions are in dao-table-column, named dao-table-column-standard-effective-slot-definitions
…definition to the effective slot class definition - changed the reader to be an accessor to facilitate the change
Hi, please take a look at I changed it in Besides that there were no changes to how things worked. I've basically copied over to the effective slot the contents of the following slots:
I think that's everything that was defined in the direct slot definitions. Is there anything else that needs to be checked? So with this everything should be working now. We should now be able to replace |
Fixed a test which was missing a |
So basically this is ready to be merged if it makes sense to you |
…host slots which had no col-type.
… depend on mito work
…operly checking for slots that have the the col-type slot in their class, and that they are actually bound. The first result of the bound results of col-type will be bound to the effective slot.
I had to add some extra checks for certain types of slots which do not have a |
This is a correct implementation of effective slot definitions to mito.
Please see the issue #158
By the way, are there any other slots besides those which need to be available at runtime?
I noticed
table-column-references
is a reader and not an accessor. Should it be set? See that I am not copying it below.Take a look at the functionality now:
In particular, notice that now we can properly use the
class-slots
function and get the runtime information we want without the workaround mentioned in the issue.