-
-
Notifications
You must be signed in to change notification settings - Fork 114
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
panic while handling some //line directives #288
Comments
Similar panic in the stdlib on this file, although this one appears to be intentionally "broken" (not sure if that means gofumpt should actually panic, though):
|
Open
Thanks for spotting - I've never liked those line directives to be honest. They are definitely an obstacle for a formatter. |
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
Parsing of this file causes gofumpt to panic. It appears to be related to
//line
directives.The text was updated successfully, but these errors were encountered: