[squeak-dev] The Trunk: Tools-eem.527.mcz

Chris Muller asqueaker at gmail.com
Sat Aug 9 00:47:01 UTC 2014


Just FYI, we have #isEmptyOrNil.



On Fri, Aug 8, 2014 at 9:08 AM, <commits at source.squeak.org> wrote:

> Eliot Miranda uploaded a new version of Tools to project The Trunk:
> http://source.squeak.org/trunk/Tools-eem.527.mcz
>
> ==================== Summary ====================
>
> Name: Tools-eem.527
> Author: eem
> Time: 8 August 2014, 7:07:51.034 am
> UUID: d85d5331-2791-4594-9f21-79d551eafa08
> Ancestors: Tools-eem.526
>
> Make senders work in MessageNames when there is a
> selector but no method is selected.
>
> =============== Diff against Tools-eem.526 ===============
>
> Item was changed:
>   ----- Method: MessageNames>>selectedMessageName (in category
> 'selection') -----
>   selectedMessageName
> +       selectorList basicSize = 0 ifTrue: [^ nil]. "Deals with
> selectorList nil or empty"
> +       ^selectorList at: (selectorListIndex max: 1) ifAbsent: [nil] "If
> no selection we can still find a selector"!
> -       selectorList ifNil: [^ nil].
> -       ^selectorListIndex = 0 ifFalse: [selectorList at:
> selectorListIndex ifAbsent: [nil]]!
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20140808/8f5f60f7/attachment.htm


More information about the Squeak-dev mailing list