This website requires JavaScript.
Explore
Help
Register
Sign In
qbit
/
go
Watch
1
Star
0
Fork
0
You've already forked go
mirror of
https://github.com/golang/go
synced
2024-11-19 05:24:42 -07:00
Code
Releases
Activity
b2a5ed324b
go
/
internal
/
lsp
/
testdata
/
generated
/
generator.go
6 lines
95 B
Go
Raw
Normal View
History
Unescape
Escape
internal/lsp: show "do not edit" message when user opens generated file This is probably a better approach than showing an extra diagnostic, since a user cannot dismiss a diagnostic. Fixes golang/go#33397 Change-Id: I92b9a00f51a463673993793abfd4cfb99ce69a91 Reviewed-on: https://go-review.googlesource.com/c/tools/+/188766 Run-TryBot: Rebecca Stambler <rstambler@golang.org> Reviewed-by: Ian Cottrell <iancottrell@google.com>
2019-08-02 17:45:56 -06:00
package
generated
func
_
(
)
{
internal/lsp: refactor error handling code in type-checking This change adds a source.Error type which is used to collect the error information that comes out of the loading, parsing, and type checking stages. We also add specific sources per-error, rather than having them all be labeled as "LSP". This change will enable follow-ups that do a better job of extracting error ranges. Change-Id: I3fbb5e42d66aa2c5bb1b2f41d1eadfc45f3a749b Reviewed-on: https://go-review.googlesource.com/c/tools/+/202298 Run-TryBot: Rebecca Stambler <rstambler@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Ian Cottrell <iancottrell@google.com>
2019-10-20 17:57:03 -06:00
var
x
int
//@diag("x", "compiler", "x declared but not used")
internal/lsp: show "do not edit" message when user opens generated file This is probably a better approach than showing an extra diagnostic, since a user cannot dismiss a diagnostic. Fixes golang/go#33397 Change-Id: I92b9a00f51a463673993793abfd4cfb99ce69a91 Reviewed-on: https://go-review.googlesource.com/c/tools/+/188766 Run-TryBot: Rebecca Stambler <rstambler@golang.org> Reviewed-by: Ian Cottrell <iancottrell@google.com>
2019-08-02 17:45:56 -06:00
}
Copy Permalink