Sign in
go
/
tools
/
e54115a0622c5325aff9076ff6116307d9e5cbbc
/
.
/
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)
}