Related:
Why do you cast downvotes on answers?
Is it now discouraged to ask for reasons for downvotes as a comment?
I am new here and trying not to get into trouble in my struggle to reach 15 rep and be able to cast votes. I have been hunting for unanswered questions which I can solve, and thought I had found one. However, the script I had provided contained a typo (I converted it from a script I used personally and had to change some variable names, but missed one). This morning I saw the asker had added a comment to my answer saying it wasn't working, and giving the error. I immediately realised what was wrong and edited my answer, but he had already downvoted it. Is the consensus that this is reasonable? It makes it hard to provide any answer unless it's bulletproof, for fear of losing what little rep I currently have. FWIW the question was so badly worded that I would have downvoted it myself if I could have!
I have already read through several questions like those linked at the top, but didn't find much of a consensus, save for cletus, who wrote I only downvote when the answer is seriously wrong. This does not include minor syntax issues, typos and the like.
I seek your opinions!