I recently suggested an edit which replaced a loop initializing an array to {1, 2, ...}
into an initialiser list. This improves the readability drastically.
The edit was approved (it is now rolled back from the owner) and everything was fine until I noticed that the problem was no longer visible.
The question was about weird behavior which no longer occurs after the edit. I am pretty sure that it just "randomly" works and remains undefined behavior though. Here a demonstration: before and after.
I couldn't find an option to rollback my suggested edit and raised a flag for moderate attention instead:
I made a suggested edit which cleaned up the code a bit. It seems this indirectly changed the output of the program (which was and is still undefined), the problematic thing is that the problem is no longer visible now. The edit was approved already and I can't see a way to undo it now.
This flag was rejected for the following reason: "declined - flags should only be used to make moderators aware of content that requires their intervention".
My edit was now rejected by the owner, which resolves the issue, but one thing is still unclear: Can I rollback / remove my own approved edit suggestion? Why was the flag rejected otherwise?