-
-
Notifications
You must be signed in to change notification settings - Fork 112
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in 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. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in 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: