[squeak-dev] Character>to: was changed and breaks ObjectsTool
Levente Uzonyi
leves at elte.hu
Thu Jul 18 02:18:36 UTC 2013
On Wed, 17 Jul 2013, tim Rowledge wrote:
> Not long ago Character>to: was changed to return a String instead of an Array. That broke ObjectsTool>alphabeticTabs
>
> Either we need to fix alphabeticTabs to re-convert the String to a collection, or rescind the change to Character>to:. It would help if the rationale for that change were known.
The fix is easy, just replace the line causing the bug with this:
tabLabels := ($a to: $z) collect: [:ch | ch asString] as: OrderedCollection.
I can't commit now, so please do it.
Levente
>
> tim
> --
> tim Rowledge; tim at rowledge.org; http://www.rowledge.org/tim
> Resistance is useless! (If << 1 ohm)
>
>
>
>
More information about the Squeak-dev
mailing list
|