Skip to content

Object self is disabled #469

Answered by zephyrtronium
iacore asked this question in Q&A
Discussion options

You must be logged in to vote

self is set while activating blocks, along with a couple other slots:

{
PHash *bslots = IoObject_slots(blockLocals);
PHash_at_put_(bslots, state->callSymbol, callObject);
PHash_at_put_(bslots, state->selfSymbol, scope);
PHash_at_put_(bslots, state->updateSlotSymbol,
state->localsUpdateSlotCFunc);
}

There isn't a global self.

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@iacore
Comment options

Answer selected by iacore
Comment options

You must be logged in to vote
1 reply
@iacore
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants