Doing some test fixing I noticed that testWhileModificationBeforeNotInlined not fail.... but I think it should be:
Here is the code:
testWhileModificationBeforeNotInlined
| index block |
��� index := 0.
��� block := [
��� ��� index := index + 1.
��� ��� collection add: [ index ] ].
��� [ index < 5 ] whileTrue: block.
��� self assertValues: #(5 5 5 5 5)
I think this should produce in collection: #(1 2 3 4 5) ... there's another tests with the block directly as collaborator of the whileTrue: (without temp assignment) that produces the expected output...
I'm missing something?
Thanks
Gabriel