[etoys-dev] Variables in viewer broken

karl ramberg karlramberg at gmail.com
Sun Jun 6 10:13:38 EDT 2010


Hi,
could you look at this bug, Subbu ?
The issue is that slotInfo is used for instance variables, but here all
getter slots are added and is displayed as variables.

This method is also causing trouble because of this, a getter method is
categorized as a variable.

Player>>arrowDeltaFor:

(self slotInfoForGetter: aGetSelector) ifNotNilDo: [ :slotInfo |
^slotInfo floatPrecision].

What are you trying to achieve here ? As soon as I know that I can try to
find a way to solve the problem without causing the bug.

Karl


On Wed, Jun 2, 2010 at 9:44 PM, karl ramberg <karlramberg at gmail.com> wrote:

> This method is causing the problem:
>
> Player>>noteDecimalPlaces: aNumber forGetter: aGetter
> "Note the given preference of decimal places for the given getter"
>  | slotInfo |
>
>         "<Begin trouble>"
> slotInfo _ self slotInfoAt: (Utilities inherentSelectorForGetter: aGetter).
>  slotInfo floatPrecision: (Utilities floatPrecisionForDecimalPlaces:
> aNumber).
>         "</End Trouble>"
>
>          costume noteDecimalPlaces: aNumber forGetter: aGetter
>
>
>
> The weird thing is that even if I revert the method it keeps the
> wrong behavior.
> There must be some change in a settings once run that is kept even after
> the method being reverted.
>
> Anybody have a clue about what is going on here ?
>
> Karl
>
>
>
>
>
> On Wed, Jun 2, 2010 at 3:29 PM, karl ramberg <karlramberg at gmail.com>wrote:
>
>> Thanks for reporting this.
>> I saw this error to and have to investigate what is going on...
>>
>> Karl
>>
>>
>>
>> On Wed, Jun 2, 2010 at 10:50 AM, Korakurider <korakurider at gmail.com>wrote:
>>
>>> Hello.
>>> I noticed that display of "variables" category in viewer broken in the
>>> latest dev-image.
>>>
>>> Here is my result of quick test:
>>> + update 2378 that Bert made public  without the latest package works.
>>> + 2378 and Etoys-Richo.11 works
>>> + it breaks after Etoys-kfr.12 was loaded.  But I couldn't what's
>>> wrong...
>>>
>>> Could you look into this?
>>>
>>> /Korakurider
>>>
>>> _______________________________________________
>>> etoys-dev mailing list
>>> etoys-dev at squeakland.org
>>> http://lists.squeakland.org/mailman/listinfo/etoys-dev
>>>
>>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakland.org/pipermail/etoys-dev/attachments/20100606/1d5681ac/attachment.html


More information about the etoys-dev mailing list