I just got an answer posted as the exact same time that a question was closed and my answer has been, two minutes later, deleted.
However by reading here:
Answers to the closed questions
it is my understanding that answers that were written before the question got closed should still be posted because:
This has always been by design. The reason has always been stated as making it so the answerer does not lose their work.
And it gets more confusing...
After the deletion of my answer, I got a link saying: "Why was your post deleted?" that brings to the FAQ which states:
Answers that do not fundamentally answer the question may be removed.
However my answer did fundamentally answer the question.
https://stackoverflow.com/questions/10019935/sum-of-digitsanother-challenge
If the question is off-topic and must me migrated or closed, the person posting an answer to that question before the migration/closing happens is not necessarily the judge on this.
So should correct answers to closed questions be deleted? This behavior seems to contradict the answers to the other meta question I linked to above.
I understand this may be the case, but then shouldn't the FAQ state that there are cases where correct answers may be deleted too?
Note that I don't care about the deletion: I notice a link to a FAQ that was supposed to explain why my answer was deleted ("Why was your post deleted? See the faq.").
And then I went and read the FAQ that says that answer which do not fundamentally answer the question may be removed.
Yet the answer did fundamentally answer the question.
And then I see here on meta that, by design, I should have been allowed to post my correct answer.
So which one is it?
If I shouldn't have lost my answer, could someone please undelete it?