Hi there.<br>
<br>
I think I found a bug in MethodDictionary. Try this:<br>
<br>
    <font color="#000000">UIManager</font><font color="#000000"> </font><font color="#000080">methodDict</font><font color="#000000"> </font><font color="#000080">select:</font><font color="#000000"> </font><font color="#000000">[</font><font color="#000000">:</font><font color="#000080">ea</font><font color="#000000"> </font><font color="#808080">|</font><font color="#000000"> </font><font color="#000080">ea</font><font color="#000000"> </font><font color="#000080">selector</font><font color="#000000"> </font><font color="#000080">beginsWith:</font><font color="#000000"> </font><font color="#800080">'chooseFrom'</font><font color="#000000">]</font><br>
<br>
Expected: A dictionary (I don't care which specialization) that I can enumerate to retrieve ca. 10 selectors.<br>
Actual result: Answer looks empty in the inspector and in the print string; however, the array is not empty. The invariant mentioned in the class comment (<font color="#000000">(</font><font color="#800000">self</font><font color="#000000"> </font><font color="#000080">basicAt:</font><font color="#000000"> </font><font color="#FF0000">index</font><font color="#000000">)</font><font color="#000000"> </font><font color="#000080">isNil</font><font color="#000000"> </font><font color="#000080">=</font><font color="#000000"> </font><font color="#000000">(</font><font color="#000000">array</font><font color="#000000"> </font><font color="#000080">at:</font><font color="#000000"> </font><font color="#FF0000">index</font><font color="#000000">)</font><font color="#000000"> </font><font color="#000080">isNil</font>) is violated.<br>
<br>
Maybe any of our Collections experts feels like looking into this - for now, I'm going to convert the dictionary before filtering it. :-)<br>
<br>
Best,<br>
Christoph<br>
<br>
<font color="#808080">---<br>
</font><i><font color="#808080">Sent from </font></i><i><u><a href="https://github.com/hpi-swa-lab/squeak-inbox-talk"><font color="#808080">Squeak Inbox Talk</font></a></u></i>