blob: 3ad2d213e9880ea5c6698638780242e417be585e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
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{
// disabled - see issue #54822
baz: [] // complete(" //", structNCFoo, structNCBar)
}
}
|