I just stumbled upon this question. The questioner posted the expected output of his code. Shortly afterwards he received an answer that would fully solve his problem.
The questioner then edited his question and changed the expected output (not on purpose, only a small mistake) which made the answer completely invalid in the new context.
Fortunately the person that gave the answer reacted souvereign and made a temporary edit stating that he would need to edit the answer to comply with the new context.
That leads me to my question. If someone just would have posted the answer and did not react to the changes (because he did not notice that there was an edit or other reasons) how should we treat the answer?
In the old context the answer would not be wrong so downvoting would be unfair. So would the best option be to draw the answering persons attention to the new circumstances by commenting? And then to flag it if there are no further reactions?