pharo
pharo copied to clipboard
16927-todo-optimization-evaluates-argument-before-receiver
add test and make sure that we evaluate the receiver fist in OCASTTranslator>>#emitToDo:step:
fixes #16927
The decompiler needs to be fixed:
FBDDecompilerTest.testMethodWithOptimizedBlocksA
FBDDecompilerTest.testToDo2
FBDDecompilerTest.testToDo4
FBDDecompilerTest.testToDoArgumentLimitIsExpression
FBDDecompilerTest.testToDoValueLimitExpression
FBDDecompilerTest.testToDoWithMessage
This is sadly no that simple.. I will only have time to look at this after the holidays