A reasonably common occurrence is someone asks a question about their code not working, and then there is an answer like:
You made a typo, change
mispelled
tomisspelled
And the answer gets a comment like:
I fixed that but my code still does not work.
What should I do in these situations? More specifically my concerns are:
I kind of do not want to close them as a typo:
While similar questions may be on-topic here, this one was resolved in a way less likely to help future readers.
Since the question was not 'resolved' yet. If the root cause of the problem was not the typo, the question is still potentially still useful and salvageable.
Editing the question to fix the typo would invalidate the answer, but the answer was not the solution anyway. So I am not sure about this.
I am inclined against flagging the answer (at least not as NAA/VLQ), since they did attempt to answer the question, the answer was just wrong. Wrong answers should not be flagged.
In light of all that, what would be the correct course of action from a curation standpoint?