We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8f1392a commit 2a5d4bcCopy full SHA for 2a5d4bc
format/format.go
@@ -68,7 +68,7 @@ func Source(src []byte, opts Options) ([]byte, error) {
68
// to ensure that using token.NoPos+1 will panic.
69
fset.AddFile("gofumpt_base.go", 1, 10)
70
71
- file, err := parser.ParseFile(fset, "", src, parser.ParseComments)
+ file, err := parser.ParseFile(fset, "", src, parser.SkipObjectResolution|parser.ParseComments)
72
if err != nil {
73
return nil, err
74
}
0 commit comments