I am offering a bounty on an old question (not mine), and there are some new answers to it. One of the answers is closest to what I am looking for in terms of being worth the bounty award, but there are a few syntax errors in his code example (it doesn't work out of the box).
I spent a few minutes and figured out how to correct his sample code to a working state, but now I am unsure what I should do:
- Edit the person's answer so that the syntax is correct. Now that it works, award the bounty.
- Comment on the person's answer, saying that the syntax is incorrect. Have him figure out himself how to fix it so it works. Once it works, award the bounty.
- Comment on the person's answer, giving him the syntax so that it works. Wait for him to edit his answer to include the correct syntax (so that it shows that he edited the answer, and not me). Once it works, award the bounty.
I feel a bit dirty about editing an answer to be a state that I like, and then awarding the bounty to it. On the other hand, for options 2 and 3, it feels like I would be "playing teacher" and knowing the right answer but choosing not to say it, so the other person figures it out on his own (wasting his time?).