Sign in
go
/
tools
/
4ca280b5bd7ffa38db1d537521b1732172bd8dda
/
.
/
internal
/
lsp
/
testdata
/
badstmt
/
badstmt.go
blob: 2ff6e090733357bf8c26645d440786aaff924dde [
file
] [
log
] [
blame
]
package badstmt
import (
"golang.org/x/tools/internal/lsp/foo"
)
func _() {
defer foo.F
//@complete("F", Foo, IntFoo, StructFoo),diag(" //", "LSP", "function must be invoked in defer statement")
go foo.F
//@complete("F", Foo, IntFoo, StructFoo)
}