[squeak-dev] Re: Can we please fix the IDE?
Colin Putney
colin at wiresong.com
Sun Apr 28 17:31:20 UTC 2013
On Sun, Apr 28, 2013 at 10:00 AM, Chris Muller <asqueaker at gmail.com> wrote:
> First, the problem can be observed simply by browsing references to
> the class Error, first from workspace text then from a class list.
> The root cause is that these use different ways to find the list of
> referencing methods. One uses:
>
>
> So, what is the proper fix here? 1) make bindingOf: and
> associationAt: point to the same object? 2) change
> CompiledMethod>>#indexOfLiteral: to do an equality rather than
> identity check? 3) change the IDE code to use #bindingOf: instead of
> #associationAt:?
>
The proper fix is #3 - since compiling a method uses #bindingOf: searching
for bindings should do the same.
I'll submit a fix shortly.
Colin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20130428/d587b42e/attachment.htm
More information about the Squeak-dev
mailing list
|