[squeak-dev] [Bug][M7632] String Holder class>>openLabel: returns the Class rather than the instance.

Frank Shearar frank.shearar at angband.za.org
Fri May 6 08:28:37 UTC 2011


On 2011/05/06 09:02, Jerome Peace wrote:
> Hi Ken,
>
> This is a response to Ken G Browns query in:
> http://lists.squeakfoundation.org/pipermail/squeak-dev/2011-May/159651.html
> Controlling size and location of a Workspace instance?
>
> I looked into it and reported what I found here:
>
> http://bugs.squeak.org/view.php?id=7632
> String Holder class>>openLabel: returns the Class rather than the instance.
>
> Short answer. Until someone fixes the bug in trunk use the form
>
> mine := Workspace new openLabel: 'This works'.
>
> mine topView
>
> should give you the system window object that can be positioned and resized.

I'm not sure of the potential repercussions, but your suggested fix 
(returning the value in StringHolder class>>#openLabel:) seems like a 
no-brainer-yes-please to me.

So that's a +1 to your fix from me.

frank



More information about the Squeak-dev mailing list