1
0
mirror of https://github.com/golang/go synced 2024-11-18 23:44:43 -07:00
go/internal/lsp/testdata/nodisk/nodisk.overlay.go
Rebecca Stambler 979d74e0bb internal/lsp: fix race condition in metadata handling
The metadata was being added to the cache before it was fully computed.

Change-Id: I6931476a715f0383f7739fa4e950dcaa6cbec4fe
Reviewed-on: https://go-review.googlesource.com/c/tools/+/204562
Run-TryBot: Rebecca Stambler <rstambler@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Cottrell <iancottrell@google.com>
2019-11-04 20:35:57 +00:00

9 lines
131 B
Go

package nodisk
import (
"golang.org/x/tools/internal/lsp/foo"
)
func _() {
foo.Foo() //@complete("F", Foo, IntFoo, StructFoo)
}