Some time ago I found an answer which I had found useful and upvoted.
Recently I bumped into the same issue again and, trying to apply the steps from the answer, I found that the solution is now deprecated, as pointed out in a comment (which I upvoted).
After some searching I found an answer on StackOverflow that is up-to date and working for me, so I upvoted that as well.
Now what to do about the original answer?
- I tried removing my upvote, but it says it's locked (see here for an explanation).
- The comment is over a year old, so I'm assuming the original author didn't know what to do about it or doesn't care to update the answer.
- I could add another comment, pointing to the newer answer I found.
- I could edit the answer but that doesn't feel right since it's not mine. Options are
- adding an obvious warning at the top, potentially including a link to the new answer,
- updating it to show the new solution or
- I could flag the answer, but that doesn't seem right to me either.
What is one supposed to do in such a case?