1// 2PACKAGE error1 3 4IMPORTPATH 5 testdata/error1 6 7FILENAMES 8 testdata/error1.go 9 10TYPES 11 // 12 type I0 interface { 13 // When embedded, the predeclared error interface 14 // must remain visible in interface types. 15 error 16 } 17 18 // 19 type S0 struct { 20 // contains filtered or unexported fields 21 } 22 23 // 24 type T0 struct { 25 ExportedField interface { 26 // error should be visible 27 error 28 } 29 } 30 31