[Self-interest] Block Question
lukemcneil61 at gmail.com
Thu Nov 11 05:31:12 UTC 2021
On Wed, Nov 10, 2021 at 11:19 PM Jecel Assumpcao Jr <jecel at merlintec.com>
> If I type (| x =  |) into an evaluator and press "Get it" I see an
> object with an 'x' slot that says
> <a block defined in <a string>, line 1>
> Looking at the block it only shows the 'parent*' slot (traits block) and
> the 'value' slot (which is just 2). The block also has a slot pointing
> to the enclosing lexical activation but the outliner doesn't show that.
> We can evaluate 'reflect: self' in the block's outlinter to get a mirror
> and then 'lexicalParent' there and the result is "mirrors deadActivation
> on <a dead activation>)".
> -- Jecel
Interesting. This inspired me to see if that activation was anything
before it became <a dead activation>.
If I do "Get it" with "(| x = (reflect: ) lexicalParent printLine |) x"
it prints out
"a mirrors methodActivation(on (lobby) <top level expr>)"
The object that you get, however, in the GUI quickly turns from that same
output to "mirrors deadActivation on <a dead activation>)" as the method
So maybe some methodActivation object is being made on the lobby, and 
is being evaluated like a top level expr in this context.
Further insight is appreciated.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Self-interest