File tree Expand file tree Collapse file tree 6 files changed +10
-1
lines changed
go/ql/test/library-tests/semmle/go/Types Expand file tree Collapse file tree 6 files changed +10
-1
lines changed Original file line number Diff line number Diff line change 1
1
| interface { Exported func() ; notExported func() } | func() | Exported |
2
2
| interface { Exported func() ; notExported func() } | func() | github.com/github/codeql-go/ql/test/library-tests/semmle/go/Types/pkg1.notExported |
3
+ | interface { Exported func() ; notExported func() } | func() | github.com/github/codeql-go/ql/test/library-tests/semmle/go/Types/pkg2.notExported |
Original file line number Diff line number Diff line change 53
53
| pkg1/tst.go:3:6:3:6 | T | half | func() Foo |
54
54
| pkg1/tst.go:14:6:14:7 | T3 | half | func() Foo |
55
55
| pkg1/tst.go:19:6:19:7 | T4 | half | func() Foo |
56
+ | pkg2/tst.go:11:6:11:24 | MixedExportedAndNot | Exported | func() |
57
+ | pkg2/tst.go:11:6:11:24 | MixedExportedAndNot | notExported | func() |
Original file line number Diff line number Diff line change 59
59
| pkg1/tst.go:33:16:33:19 | half | github.com/github/codeql-go/ql/test/library-tests/semmle/go/Types/pkg1.T | half |
60
60
| pkg1/tst.go:33:16:33:19 | half | github.com/github/codeql-go/ql/test/library-tests/semmle/go/Types/pkg1.T3 | half |
61
61
| pkg1/tst.go:33:16:33:19 | half | github.com/github/codeql-go/ql/test/library-tests/semmle/go/Types/pkg1.T4 | half |
62
+ | pkg2/tst.go:12:9:12:16 | Exported | github.com/github/codeql-go/ql/test/library-tests/semmle/go/Types/pkg2.MixedExportedAndNot | Exported |
63
+ | pkg2/tst.go:13:9:13:19 | notExported | github.com/github/codeql-go/ql/test/library-tests/semmle/go/Types/pkg2.MixedExportedAndNot | notExported |
Original file line number Diff line number Diff line change 59
59
| pkg1/tst.go:33:16:33:19 | half | github.com/github/codeql-go/ql/test/library-tests/semmle/go/Types/pkg1 | T | half |
60
60
| pkg1/tst.go:33:16:33:19 | half | github.com/github/codeql-go/ql/test/library-tests/semmle/go/Types/pkg1 | T3 | half |
61
61
| pkg1/tst.go:33:16:33:19 | half | github.com/github/codeql-go/ql/test/library-tests/semmle/go/Types/pkg1 | T4 | half |
62
+ | pkg2/tst.go:12:9:12:16 | Exported | github.com/github/codeql-go/ql/test/library-tests/semmle/go/Types/pkg2 | MixedExportedAndNot | Exported |
63
+ | pkg2/tst.go:13:9:13:19 | notExported | github.com/github/codeql-go/ql/test/library-tests/semmle/go/Types/pkg2 | MixedExportedAndNot | notExported |
Original file line number Diff line number Diff line change 25
25
| Foo | half | pkg1/tst.go:33:16:33:19 | half |
26
26
| GenericInterface | GetT | generic.go:33:2:33:5 | GetT |
27
27
| MixedExportedAndNot | Exported | pkg1/interfaces.go:36:2:36:9 | Exported |
28
+ | MixedExportedAndNot | Exported | pkg2/tst.go:12:9:12:16 | Exported |
28
29
| MixedExportedAndNot | notExported | pkg1/interfaces.go:37:2:37:12 | notExported |
30
+ | MixedExportedAndNot | notExported | pkg2/tst.go:13:9:13:19 | notExported |
29
31
| MyInterface | clone | generic.go:48:2:48:6 | clone |
30
32
| MyInterface | dummy1 | generic.go:49:2:49:7 | dummy1 |
31
33
| MyInterface | dummy2 | generic.go:50:2:50:7 | dummy2 |
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ type G struct {
8
8
g int
9
9
}
10
10
11
- type MixedExportedAndNot {
11
+ type MixedExportedAndNot interface {
12
12
Exported ()
13
13
notExported ()
14
14
}
You can’t perform that action at this time.
0 commit comments