<div dir="ltr"><div>Not sure why the methods in noteDangerous are not used. We could ask Ted, who wrote it initially. CC'ing.<br></div><div><br></div>It still works because MethodFinder only tries methods understood by the objects you give as an example. So as long as you don't try it on "dangerous" classes it's going to be fine.<div><br></div><div>- Vanessa -</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Aug 19, 2020 at 1:22 PM karl ramberg <<a href="mailto:karlramberg@gmail.com">karlramberg@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Same in Squeak 2.8.</div><div>Dangerous is nil and not accessed.</div><div><br></div><div>Best,</div><div><br></div><div>Karl<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Aug 19, 2020 at 9:41 PM David T. Lewis <<a href="mailto:lewis@mail.msen.com" target="_blank">lewis@mail.msen.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Following the removal of Classbuilder>>format:variable:words:pointers:weak:<br>
I had planned to remove a reference to that method (and one or two others)<br>
in MethodFinder>>noteDangerous. But to my surprise, I see that the set of<br>
Dangerous methods in MethodFinder is completely unused (except by a method<br>
that is itself unused).<br>
<br>
How is this even possible? I had assumed that the Dangerous methods were<br>
important to the fundamental functioning of MethodFinder, which explores<br>
the system looking for methods that produce results matching some example<br>
pattern. How could this possibly be working if we do not pay attention to<br>
the set of methods that are too dangerous to be invoked by the method finder?<br>
<br>
This is not a new situation, I looked at a Squeak 3.6 image and see the<br>
same thing.<br>
<br>
Dave<br>
<br>
<br>
</blockquote></div>
<br>
</blockquote></div>