Tx.
We should use more often deprecate: because this is a cheap way to support evolution without impacting directly clients.
Stef


On Oct 13, 2008, at 9:01 PM, Damien Pollet wrote:

In my image the problems are that OB-Enhancements and OB-Standard each
have a sender of #startsWith:
OBEnrichedMercuryQuery class>>selectClassForQuery:
OBCodeBrowser class>>defaultBrowserClass

Replacing them with #beginsWith: fixes the problem.

On Mon, Oct 13, 2008 at 4:44 PM, Stéphane Ducasse
<[EMAIL PROTECTED]> wrote:
Sequenceable>>startsWith: start
      | comp |
      self size < start size ifTrue: [^ false].
      comp := true.
      (self first: start size) with: start
              do: [:ea :ea2 | ea = ea2 ifFalse: [comp := false]].
      ^ comp

And indeed with should use deprecate:...

Stef


On Oct 13, 2008, at 4:34 PM, Damien Pollet wrote:

On Thu, Oct 9, 2008 at 12:54 AM, nicolas cellier <[EMAIL PROTECTED] >
wrote:

http://bugs.squeak.org/view.php?id=6994
deprecate the Service related #startsWith: because single implementor
completely redundant with beginsWith:

#startsWith: is not there anymore but it's still used (e.g. by the
mercury field in OB)

--
Damien Pollet
type less, do more [ | ] http://people.untyped.org/damien.pollet

_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project



_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project




--
Damien Pollet
type less, do more [ | ] http://people.untyped.org/damien.pollet
_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

Reply via email to