As seen in This meta post, questions aren't supposed to change their code beyond copy/paste errors or minor syntax problems which aren't the subject of Code Review anyway.
It did happen here. How should I respond? I cannot find an appropriate flag for this. "Request for Moderator Intervention" feels like throwing a nuke at a cockroach - there is no objectionable content in itself.
Simple rollback may also not be appropriate. I suspect that the current code is the "real" code and the original was only a fragment. While this of course means that the current code should have originally been posted, it does now almost completely invalidate my answer.
So in short:
- Rollback would decrease question quality
- Keeping everything as-is is answer-invalidation
return
ing an obvious return value, which I think is minor enough to let slide. However, the current, more complete code is straight up a better question. (Basically, the code calling the original function is included.) \$\endgroup\$