go/go/analysis
Robert Findley bebd890374 go/analysis: remove stray print statement in the timeformat analyzer
A debugging print statement was left in the analyzer, which breaks
gopls' communication over stdin/stdout.

Fix this, and add tests.

Fixes golang/vscode-go#2406

Change-Id: I1b785fa09e66eae2f1b1e03806e5b59d2015e75e
Reviewed-on: https://go-review.googlesource.com/c/tools/+/422902
TryBot-Result: Gopher Robot <gobot@golang.org>
gopls-CI: kokoro <noreply+kokoro@google.com>
Run-TryBot: Robert Findley <rfindley@google.com>
Reviewed-by: Tim King <taking@google.com>
2022-08-12 17:40:51 +00:00
..
analysistest internal/span: make NewRange accept File, not FileSet 2022-07-06 19:40:50 +00:00
doc tools: fix some typos 2022-03-24 22:24:35 +00:00
internal go/analysis/internal/checker: log codeFact error, remove unused action.inputs 2022-06-14 18:53:22 +00:00
multichecker all: go fmt ./... 2021-02-20 03:28:52 +00:00
passes go/analysis: remove stray print statement in the timeformat analyzer 2022-08-12 17:40:51 +00:00
singlechecker go/analysis: gofmt 2022-04-12 17:43:14 +00:00
unitchecker go/analysis: gofmt 2022-04-12 17:43:14 +00:00
analysis.go all: add copyright notices to files that are missing them 2021-01-06 17:23:47 +00:00
diagnostic.go all: add copyright notices to files that are missing them 2021-01-06 17:23:47 +00:00
doc.go go/analysis: document need for deterministic Fact encoding 2022-06-06 15:25:04 +00:00
validate.go go/analysis: validate report if analyzer.Run is empty 2022-03-30 03:52:37 +00:00
validate_test.go go/analysis: validate report if analyzer.Run is empty 2022-03-30 03:52:37 +00:00