[tools] gopls/internal/lsp/cache: remove stray print statement

1 view
Skip to first unread message

Gopher Robot (Gerrit)

unread,
Oct 13, 2022, 1:41:30 PM10/13/22
to Robert Findley, goph...@pubsubhelper.golang.org, golang-...@googlegroups.com, kokoro, Alan Donovan, golang-co...@googlegroups.com

Gopher Robot submitted this change.

View Change


Approvals: Robert Findley: Run TryBots; Automatically submit change kokoro: gopls CI succeeded Gopher Robot: TryBots succeeded Alan Donovan: Looks good to me, approved
gopls/internal/lsp/cache: remove stray print statement

A stray print statement was accidentally left in CL 441877. Remove it.

Change-Id: I44e4408059f30d35ad8c84b070aea3e197762d1c
Reviewed-on: https://go-review.googlesource.com/c/tools/+/442782
gopls-CI: kokoro <noreply...@google.com>
Auto-Submit: Robert Findley <rfin...@google.com>
Reviewed-by: Alan Donovan <adon...@google.com>
Run-TryBot: Robert Findley <rfin...@google.com>
TryBot-Result: Gopher Robot <go...@golang.org>
---
M gopls/internal/lsp/cache/standalone_go116.go
1 file changed, 17 insertions(+), 2 deletions(-)

diff --git a/gopls/internal/lsp/cache/standalone_go116.go b/gopls/internal/lsp/cache/standalone_go116.go
index 39e8864..2f72d5f 100644
--- a/gopls/internal/lsp/cache/standalone_go116.go
+++ b/gopls/internal/lsp/cache/standalone_go116.go
@@ -8,7 +8,6 @@
package cache

import (
- "fmt"
"go/build/constraint"
"go/parser"
"go/token"
@@ -35,7 +34,6 @@
continue
}
for _, comment := range cg.List {
- fmt.Println(comment.Text)
if c, err := constraint.Parse(comment.Text); err == nil {
if tag, ok := c.(*constraint.TagExpr); ok {
for _, t := range standaloneTags {

To view, visit change 442782. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: tools
Gerrit-Branch: master
Gerrit-Change-Id: I44e4408059f30d35ad8c84b070aea3e197762d1c
Gerrit-Change-Number: 442782
Gerrit-PatchSet: 2
Gerrit-Owner: Robert Findley <rfin...@google.com>
Gerrit-Reviewer: Alan Donovan <adon...@google.com>
Gerrit-Reviewer: Gopher Robot <go...@golang.org>
Gerrit-Reviewer: Robert Findley <rfin...@google.com>
Gerrit-Reviewer: kokoro <noreply...@google.com>
Gerrit-MessageType: merged
Reply all
Reply to author
Forward
0 new messages