Marcel Taeumel uploaded a new version of Compiler to project The Trunk: http://source.squeak.org/trunk/Compiler-mt.491.mcz
==================== Summary ====================
Name: Compiler-mt.491 Author: mt Time: 5 May 2023, 3:39:26.933945 pm UUID: e15f8291-ec32-9a4a-8af3-5328323a2ca3 Ancestors: Compiler-mt.490
Allow #pvt* methods to be overridden and extended in subclasses, that is, allow "super pvtFoo" calls. For example, Cuis' VectorEngine needs this.
=============== Diff against Compiler-mt.490 ===============
Item was changed: ----- Method: MessageNode>>pvtCheckForPvtSelector: (in category 'private') ----- pvtCheckForPvtSelector: encoder + "If the code being compiled is trying to send a private message (e.g. 'pvtCheckForPvtSelector:') to anyone other than self (or super), then complain to encoder." - "If the code being compiled is trying to send a private message (e.g. 'pvtCheckForPvtSelector:') to anyone other than self, then complain to encoder."
selector isPvtSelector ifTrue: + [receiver isSelfOrSuperPseudoVariable ifFalse: + [encoder notify: 'Private messages may only be sent to self or super']].! - [receiver isSelfPseudoVariable ifFalse: - [encoder notify: 'Private messages may only be sent to self']].!
Item was added: + ----- Method: ParseNode>>isSelfOrSuperPseudoVariable (in category 'testing') ----- + isSelfOrSuperPseudoVariable + + ^ self isSelfPseudoVariable or: [self isSuperPseudoVariable]!
Item was added: + ----- Method: ParseNode>>isSuperPseudoVariable (in category 'testing') ----- + isSuperPseudoVariable + "Overridden in VariableNode." + ^false!
Item was added: + ----- Method: VariableNode>>isSuperPseudoVariable (in category 'testing') ----- + isSuperPseudoVariable + "Answer if this ParseNode represents the 'super' pseudo-variable." + + ^ key = 'super' or: [name = '{{super}}']!
squeak-dev@lists.squeakfoundation.org