[squeak-dev] [bug] 0007770: cascading does ont work with super

Frank Shearar frank.shearar at gmail.com
Wed Jun 19 10:01:32 UTC 2013


On 19 June 2013 10:51, Vaidotas Didžbalis <vaidasd at gmail.com> wrote:
> FYI, cascading does ont work with super. Compiler refuses to compile
> super
>     initialize;
>     setListProperties

I replied on the ticket, but I'll replicate it here:

Do you expect this to be equivalent to

  super initialize.
  self setListProperties.

or to

  super initialize.
  super setListProperties.

Given that ambiguity I'd say failing to compile is the right answer.

At the moment a super is the _only_ thing that can't cascade. Comments, Eliot?

frank


More information about the Squeak-dev mailing list