|
[ENH] pvt selector handling (was: Re: Design Patterns and Collection Classe: msg#01370lang.smalltalk.squeak.general
On 30.08.2002, Richard A. O'Keefe wrote: I guess if I propose a change to existing things I'll be howled down again, Well, *I* think it's a reasonable request. The #pvtXXX support is in the image anyway, this submission enhances it (I think), and it comes down to a choice of style you choose to code in. As long as you don't request the system to be rewritten, or that #perform: and friends should also check it... ;-) So, herewith is LessPvt.3.cs, this time with a preamble (but still no checking for "Am I compiling in a metaclass context?" -- do we really need that safety net?): ---snip--- Widens the Compiler's special handling of #pvtXXX selectors, to allow the following usage patterns in class methods: self new pvtXXX (self new: n) pvtXXX super new pvtXXX (super new: n) pvtXXX Previously, the Compiler allowed #pvtXXX method sends in instance methods only. ---snip--- Flame away :-) Cheers, Helge
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Starting the clock..., Bob Arning |
|---|---|
| Next by Date: | Re: Building Squeak VM Under Mac OS X 10.2 (Jaguar), Ned Konz |
| Previous by Thread: | Re: Design Patterns and Collection Classes, Richard A. O'Keefe |
| Next by Thread: | Re: Design Patterns and Collection Classes, David Griswold |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |