go/ast doesn't save comments in the tree when a file is parsed, (they are kept in the field *ast.File.Comments). This causes problems for functions like astutil.PathEnclosingInterval and forces comments to be special cased in the LSP completions package (context: #29780).
go/ast doesn't save comments in the tree when a file is parsed, (they are kept in the field
*ast.File.Comments). This causes problems for functions likeastutil.PathEnclosingIntervaland forces comments to be special cased in the LSP completions package (context: #29780).