tools/internal/lsp/testdata/nested_complit/nested_complit.go.in

14 lines
276 B
Go

package nested_complit
type ncFoo struct {} //@item(structNCFoo, "ncFoo", "struct{...}", "struct")
type ncBar struct { //@item(structNCBar, "ncBar", "struct{...}", "struct")
baz []ncFoo
}
func _() {
_ := ncBar{
baz: [] //@complete(" //", structNCBar, structNCFoo)
}
}