[squeak-dev] thisContext method ... can answer a compiled block

Marcel Taeumel marcel.taeumel at hpi.de
Thu Feb 18 14:04:25 UTC 2021


Hi all --

Looking at the implementation of CompiledBlock >> #method and CompiledMethod >> #method, I wonder whether the implementation of Context >> #method is correct.

What should be the answer of
   [ thisContext method ] value

An instance of CompiledMethod or an instance of CompiledBlock? If the latter is okay, then "thisContext method method" would be the necessary idiom to support lookup in the underlying behavior.

Best,
Marcel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20210218/06ca6ba1/attachment.html>


More information about the Squeak-dev mailing list