Consider this question.
The OP posted a question. The question received several answers from other people. The OP edits the question and says "sorry, found the error", and posts the answer, not as an official answer, but in the question body.
What to do with questions like that? Vote to close (on what reason?), flag? what?