Hi,
On 25 December 2010 05:56, Levente Uzonyi leves@elte.hu wrote:
To be reviewed/discussed:
...
- Clean up CompiledMethod's closures protocol
Packages: Kernel-mha.498 Kernel-mha.499 Kernel-mha.500 KernelTests-mha.163 KernelTests-mha.164 KernelTests-mha.167
well, let's discuss them indeed.
I have made those changes to CompiledMethod because the code in that protocol was completely dead and useless, and because I needed some meta-programming (introspective) facilities around closures/blocks.
The solution is far from perfect, especially because BlockClosure instances are inherently "run-time" entities, instead of static ones like CompiledMethod or BlockMethod. Still, I think the somewhat orphaned support for meta-programming with closures is a bit sad given the otherwise complete coverage of such constructs in Smalltalk.
So, how about it?
Best,
Michael