Yesterday I answered this question:
At the time I answered, the question had some other answers. The first version of my answer wasn't completely fine and after a while, during the discussion with some other users to find the mistake, user MartinR pointed out the question had the following duplicate target:
Therefore, while revising the answer, I decided to migrate the answer in the older original question (opened at that time).
Today also the original (2 year old) question, with a very good answer, has been closed for lacking in context etc.
Then my question: where should I post my answer? and more in general, how does this kind of situations should be handled?
From my side, for example, in a case like that I would suggest to reopen the recent question and migrate there all the answers.
Thanks in advance for your opinion.
Edit
Thanks you all for comments and suggestion, I see there is not unaminity on how to handle cases like this, even if from the votes casted the way suggested by hardmath seems prefered, at least among people reading comments here.
Meanwhile, I've noticed other similar cases happened, for example, this newer question
seems to have an older duplicate here:
Moreover, for the latter question the target duplicate, even if related, doesn't seem a precise duplicate.
Also in a similar case I would have some doubts to identify the proper way to handle it.