Hello<br>can anybody please explain me this example:<br><br>in init i make:<br>left := OrderedCollection new. <br>left add: nil -> 'Eukaryota'.<br>left add: 'Eukaryota' -> 'Opisthokonts'.<br><br>
and then in another method:<br>(self perform: #left) do: [ :item | ...]<br><br><br>it's ok, but if i change init to<br>left := OrderedCollection new add: nil -> 'Eukaryota'; add: 'Eukaryota' -> 'Opisthokonts'.
<br><br>and then i call<br>(self perform: #left) do: [ :item | ...]<br>i get error<br><br>i thought both init are equivalent<br><br>thnx.<br>
<br><br><br><br>