aboutsummaryrefslogtreecommitdiff
path: root/internal/lsp/testdata/nested_complit/nested_complit.go.in
blob: 1dddd5b1b5326fcf2208b2155a48b65b460a405b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
package nested_complit

type ncFoo struct {} //@item(structNCFoo, "ncFoo", "struct{...}", "struct")

type ncBar struct { //@item(structNCBar, "ncBar", "struct{...}", "struct")
	baz []ncFoo
}

func _() {
	[]ncFoo{} //@item(litNCFoo, "[]ncFoo{}", "", "var")
	_ := ncBar{
		baz: [] //@complete(" //", structNCFoo, structNCBar)
	}
}