[squeak-dev] Bug in senders/implementors tool (strings vs literals)
Marcel Taeumel
marcel.taeumel at hpi.de
Sun Apr 26 14:55:16 UTC 2020
Hi Christoph.
I suppose that might a bug in either String >> #findSelector. All supported cases are documented in StringTest.
Hmmm... but I am not so sure that your "select all text" example is actually a relevant scenario. The request "Show be all senders of 'detect:detect:' " is invalid anyway.
Best,
Marcel
Am 24.04.2020 21:21:46 schrieb Thiede, Christoph <christoph.thiede at student.hpi.uni-potsdam.de>:
Steps to reproduce:
Open a method in a browser, say Collection >> #detect:.
Select the whole source code.
Browse senders of it (<cmd>n).
Expected behavior:
All senders of #detect: are shown in a MessageTrace.
Actual behavior:
"There are no users of 'detect:'".
This might be related to the literal comparison, which is fine for the SystemNavigation interface but not expected when you use the refactoring tools for browsing methods. Something must go wrong when identifying the relevant literal from the selected source.
Best,
Christoph
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20200426/4ca6829c/attachment.html>
More information about the Squeak-dev
mailing list
|