summaryrefslogtreecommitdiffstats
path: root/src/go/doc/testdata/error1.0.golden
blob: 6c6fe5d49bdf04d6572c104bd8edcd44318545bd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
// 
PACKAGE error1

IMPORTPATH
	testdata/error1

FILENAMES
	testdata/error1.go

TYPES
	// 
	type I0 interface {
		// When embedded, the predeclared error interface
		// must remain visible in interface types.
		error
	}

	// 
	type S0 struct {
		// contains filtered or unexported fields
	}

	// 
	type T0 struct {
		ExportedField interface {
			// error should be visible
			error
		}
	}