[squeak-dev] final methods

K K Subbu kksubbu.ml at gmail.com
Mon Mar 4 10:16:23 UTC 2019


All,


How does one enforce finality of methods in Squeak?

I noticed that methods like Object>>basicSize have instructions in 
comments not to override these, but what if these methods do get 
overridden/extended during compilation (perhaps by accident or oversight).

Can we use a dummy primitive in these methods to mark them as final?

Regards .. Subbu


More information about the Squeak-dev mailing list