You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Same as before but the instantiated type is now the default
self as Hook
If self was a hook it would be simple to implement but the issue is we need to know that we are inside a hook from the context, otherwise if self is called, within that hook it will not know that it is in fact executing within another hook. For instance:
Foo<-:
bar: bazMethod<-: ...exec:
do->: self Method
Inside do we don't know that we are within an exec of another hook. If we did know that, we could easily build the hook
The text was updated successfully, but these errors were encountered:
Self Hook
Create a special
self
hook to reference the hook's methods during parsingProposal Status: wip
Issue Number: 258
Proposal Doc: self-hook.md
Overview
self
as HookIf
self
was a hook it would be simple to implement but the issue is we need to know that we are inside a hook from the context, otherwise ifself
is called, within that hook it will not know that it is in fact executing within another hook. For instance:Inside
do
we don't know that we are within anexec
of another hook. If we did know that, we could easily build the hookThe text was updated successfully, but these errors were encountered: