update implementation for 2020 spec changes

Closeddmitshur opened this issue 7 months ago
dmitshur commented 7 months ago · edited

The rule for allowed placement of the generated DO NOT EDIT comment changed in Go proposal 41196. Previously, the comment could be anywhere in the file, but now it is required to be at the top.

The implementation and test cases need to be updated for the new behavior.

Write Preview Markdown
to comment.