[squeak-dev] self error: 'comment only'

K K Subbu kksubbu.ml at gmail.com
Thu Mar 19 07:53:31 UTC 2020


On 18/03/20 12:32 AM, Thiede, Christoph wrote:
> However, we are talking basically about two comments only at the moment. 
> Couldn't we just move the contents of #whatIsAPrimitive and 
> #howToModifyPrimitives into #primitiveFailed:?

I see your point about not abusing method entries for holding comments. 
I also understand Dave's comments about Object class not being the right 
place for such comments. The logical place is not primitiveFailed: but 
CompiledMethod>>primitive. After all, primitives are associated only 
with compiled method objects not all objects.

For now, The help text methods could be left in place but modified to 
point to the new location. When all references to these methods are 
removed, the methods themselves may be removed.

Regards .. Subbu


More information about the Squeak-dev mailing list