github.com/traefik/yaegi@v0.15.1/_test/struct45.go (about) 1 package main 2 3 type T struct { 4 b bool 5 } 6 7 type T1 struct { 8 T 9 } 10 11 func main() { 12 t := &T1{} 13 t.b = true 14 println(t.b) 15 } 16 17 // Output: 18 // true