pharo icon indicating copy to clipboard operation
pharo copied to clipboard

16927-todo-optimization-evaluates-argument-before-receiver

Open MarcusDenker opened this issue 1 year ago • 2 comments

add test and make sure that we evaluate the receiver fist in OCASTTranslator>>#emitToDo:step:

fixes #16927

MarcusDenker avatar Jul 26 '24 12:07 MarcusDenker

The decompiler needs to be fixed:

FBDDecompilerTest.testMethodWithOptimizedBlocksA
FBDDecompilerTest.testToDo2
FBDDecompilerTest.testToDo4
FBDDecompilerTest.testToDoArgumentLimitIsExpression
FBDDecompilerTest.testToDoValueLimitExpression
FBDDecompilerTest.testToDoWithMessage

MarcusDenker avatar Jul 26 '24 13:07 MarcusDenker

This is sadly no that simple.. I will only have time to look at this after the holidays

MarcusDenker avatar Jul 26 '24 13:07 MarcusDenker