Sign in
go
/
tools
/
refs/heads/release-branch.go1.13
/
.
/
internal
/
lsp
/
testdata
/
badstmt
/
badstmt.go
blob: 2ff6e090733357bf8c26645d440786aaff924dde [
file
] [
log
] [
blame
] [
edit
]
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)
}