Debian Codegraph @

_test/issue-1308.go

raw symbols SCIP
1 package main
2
3 import "fmt"
4
5 type test struct {
6 v interface{}
7 s string
8 }
9
10 type T struct {
11 name string
12 }
13
14 func main() {
15 t := []test{
16 {
17 v: []interface{}{
18 T{"hello"},
19 },
20 s: "world",
21 },
22 }
23 fmt.Println(t)
24 }
25
26 // Output:
27 // [{[{hello}] world}]