[squeak-dev] [bug] 0007770: cascading does ont work with super
frank.shearar at gmail.com
Wed Jun 19 17:27:27 UTC 2013
Well, I really really don't _ever_ want to see something like this:
foo bar baz: super
But that's just me, maybe. Maybe I should imagine super as being a
transparent proxy for self, with custom lookup.
On 19 June 2013 17:55, Nicolas Cellier
<nicolas.cellier.aka.nice at gmail.com> wrote:
> As long as you don't write things like (self send: #someMessage to: super),
> there's not much possible confusion ;)
> 2013/6/19 Vaidotas Didžbalis <vaidasd at gmail.com>
>> > But, to my horror, "a := super" is valid syntax!
>> from Wikipedia (https://en.wikipedia.org/wiki/Smalltalk): "... true,
>> false, nil, self, super, and thisContext. These are actually called
>> pseudo-variables, identifiers that follow the rules for variable
>> identifiers but denote bindings that the programmer cannot change.".
>> My understanding that a := super is valid.
More information about the Squeak-dev