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 11| interface { Exported func() ; notExported func() } | func() | Exported |
22| 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 5353| pkg1/tst.go:3:6:3:6 | T | half | func() Foo |
5454| pkg1/tst.go:14:6:14:7 | T3 | half | func() Foo |
5555| 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 5959| pkg1/tst.go:33:16:33:19 | half | github.com/github/codeql-go/ql/test/library-tests/semmle/go/Types/pkg1.T | half |
6060| pkg1/tst.go:33:16:33:19 | half | github.com/github/codeql-go/ql/test/library-tests/semmle/go/Types/pkg1.T3 | half |
6161| 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 5959| pkg1/tst.go:33:16:33:19 | half | github.com/github/codeql-go/ql/test/library-tests/semmle/go/Types/pkg1 | T | half |
6060| pkg1/tst.go:33:16:33:19 | half | github.com/github/codeql-go/ql/test/library-tests/semmle/go/Types/pkg1 | T3 | half |
6161| 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 2525| Foo | half | pkg1/tst.go:33:16:33:19 | half |
2626| GenericInterface | GetT | generic.go:33:2:33:5 | GetT |
2727| MixedExportedAndNot | Exported | pkg1/interfaces.go:36:2:36:9 | Exported |
28+ | MixedExportedAndNot | Exported | pkg2/tst.go:12:9:12:16 | Exported |
2829| MixedExportedAndNot | notExported | pkg1/interfaces.go:37:2:37:12 | notExported |
30+ | MixedExportedAndNot | notExported | pkg2/tst.go:13:9:13:19 | notExported |
2931| MyInterface | clone | generic.go:48:2:48:6 | clone |
3032| MyInterface | dummy1 | generic.go:49:2:49:7 | dummy1 |
3133| 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 {
88 g int
99}
1010
11- type MixedExportedAndNot {
11+ type MixedExportedAndNot interface {
1212 Exported ()
1313 notExported ()
1414}
You can’t perform that action at this time.
0 commit comments