mirror of https://github.com/golang/go.git
16 lines
362 B
Go
16 lines
362 B
Go
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)
|
|
}
|
|
}
|