[squeak-dev] recent buglet

Nicolas Cellier nicolas.cellier.aka.nice at gmail.com
Tue Sep 17 22:51:12 UTC 2013


What is the difference between:
    ToolSet browse: Object selector: nil
and
    ToolSet browseClass: Object
Is it just more explicit?

There are other senders of browse:selector: with nil selector, should they
be turned into browseClass: ?



2013/9/17 Frank Shearar <frank.shearar at gmail.com>

> On 17 September 2013 22:33, Bob Arning <arning315 at comcast.net> wrote:
> >
> > 'From Squeak4.5 of 16 September 2013 [latest update: #12968] on 17
> September
> > 2013 at 5:31:18 pm'!
> >
> > !StringHolder methodsFor: '*Tools' stamp: 'fbs 9/13/2013 17:29'!
> > browseMethodFull
> >     "Create and schedule a full Browser and then select the current class
> > and message."
> >     ^ self selectedClassOrMetaClass ifNotNil: [ :cls |
> >         self selectedMessageName
> >             ifNotNil: [ :sel |
> >                 ToolSet browse: cls selector: sel]
> >             ifNil: [ToolSet browserClass: cls]].! !
> >
> > #browserClass: is not understood here.
> > #browseClass: will work
>
> Oh dear. I'll fix it up. We seriously need more tests for core
> infrastructure like this.
>
> Thanks for the catch!
>
> frank
>
> > Cheers,
> > Bob
> >
> >
> >
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20130918/9d89ea69/attachment-0001.htm


More information about the Squeak-dev mailing list