blob: 554c426a998967c87f5fa1f78a04dbea2e13f870 [file] [log] [blame]
package unimported
import (
_ "context"
"golang.org/lsptests/baz"
_ "golang.org/lsptests/signature" // provide type information for unimported completions in the other file
)
func _() {
foo.StructFoo{} //@item(litFooStructFoo, "foo.StructFoo{}", "struct{...}", "struct")
// We get the literal completion for "foo.StructFoo{}" even though we haven't
// imported "foo" yet.
baz.FooStruct = f //@snippet(" //", litFooStructFoo, "foo.StructFoo{$0\\}", "foo.StructFoo{$0\\}")
}