A high rep user who posted an answer to this question asked in 2014 marked my question asked in 2012 as duplicate.
As such there is nothing wrong with flagging older questions as dupes of newer ones if there are no good answers.
But in this case I see several problems with this user's action:
Not only did the older thread have an excellent answer already but the user who marked the old thread as dupe of the new thread apparently knew of the older thread and yet posted an answer to the new thread instead of marking it as duplicate.
The other problem is that I think marking as duplicate should be a peer reviewed process. In this case, one single user appears to have the power to mark as dupe.