commit | 526b8956c23dee7be386720247e143f87e5ec2d2 | [log] [tgz] |
---|---|---|
author | Robert Griesemer <gri@golang.org> | Thu Dec 08 08:29:14 2022 -0800 |
committer | Gopher Robot <gobot@golang.org> | Tue Jan 17 19:53:49 2023 +0000 |
tree | af94733884483065c7fbf02279b7b5b8a09a6e8f | |
parent | 1e0051658345a13ca9be9eeccdce2dabb016c627 [diff] |
go/types: add commentMap and test This adds the (adjusted) syntax.CommentMap function and corresponding test to the types_test package so that we can use it for collecting ERROR comments in the next CL. For #51006. Change-Id: I63ce96e7394c28c02d5a292250586cc49c1f6e19 Reviewed-on: https://go-review.googlesource.com/c/go/+/456125 Reviewed-by: Robert Findley <rfindley@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Robert Griesemer <gri@google.com> Auto-Submit: Robert Griesemer <gri@google.com> Run-TryBot: Robert Griesemer <gri@google.com>
Go is an open source programming language that makes it easy to build simple, reliable, and efficient software.
Gopher image by Renee French, licensed under Creative Commons 4.0 Attributions license.
Our canonical Git repository is located at https://go.googlesource.com/go. There is a mirror of the repository at https://github.com/golang/go.
Unless otherwise noted, the Go source files are distributed under the BSD-style license found in the LICENSE file.
Official binary distributions are available at https://go.dev/dl/.
After downloading a binary release, visit https://go.dev/doc/install for installation instructions.
If a binary distribution is not available for your combination of operating system and architecture, visit https://go.dev/doc/install/source for source installation instructions.
Go is the work of thousands of contributors. We appreciate your help!
To contribute, please read the contribution guidelines at https://go.dev/doc/contribute.
Note that the Go project uses the issue tracker for bug reports and proposals only. See https://go.dev/wiki/Questions for a list of places to ask questions about the Go language.