File tree Expand file tree Collapse file tree 9 files changed +28
-28
lines changed
go/ql/test/library-tests/semmle/go/Types Expand file tree Collapse file tree 9 files changed +28
-28
lines changed Original file line number Diff line number Diff line change 4646| pkg1/tst.go:30:2:30:5 | flag | package github.com/github/codeql-go/ql/test/library-tests/semmle/go/Types/pkg1 |
4747| pkg2/tst.go:4:2:4:2 | g | package github.com/github/codeql-go/ql/test/library-tests/semmle/go/Types/pkg2 |
4848| pkg2/tst.go:8:2:8:2 | g | package github.com/github/codeql-go/ql/test/library-tests/semmle/go/Types/pkg2 |
49- | struct_tags.go:4:3 :4:8 | field1 | package github.com/github/codeql-go/ql/test/library-tests/semmle/go/Types |
50- | struct_tags.go:5:3 :5:8 | field2 | package github.com/github/codeql-go/ql/test/library-tests/semmle/go/Types |
51- | struct_tags.go:9:3 :9:8 | field1 | package github.com/github/codeql-go/ql/test/library-tests/semmle/go/Types |
52- | struct_tags.go:10:3 :10:8 | field2 | package github.com/github/codeql-go/ql/test/library-tests/semmle/go/Types |
49+ | struct_tags.go:4:2 :4:7 | field1 | package github.com/github/codeql-go/ql/test/library-tests/semmle/go/Types |
50+ | struct_tags.go:5:2 :5:7 | field2 | package github.com/github/codeql-go/ql/test/library-tests/semmle/go/Types |
51+ | struct_tags.go:9:2 :9:7 | field1 | package github.com/github/codeql-go/ql/test/library-tests/semmle/go/Types |
52+ | struct_tags.go:10:2 :10:7 | field2 | package github.com/github/codeql-go/ql/test/library-tests/semmle/go/Types |
Original file line number Diff line number Diff line change 6464| pkg2/tst.go:4:2:4:2 | g | github.com/github/codeql-go/ql/test/library-tests/semmle/go/Types/pkg2.T | g |
6565| pkg2/tst.go:8:2:8:2 | g | github.com/github/codeql-go/ql/test/library-tests/semmle/go/Types/pkg2.G | g |
6666| pkg2/tst.go:8:2:8:2 | g | github.com/github/codeql-go/ql/test/library-tests/semmle/go/Types/pkg2.T | g |
67- | struct_tags.go:4:3 :4:8 | field1 | github.com/github/codeql-go/ql/test/library-tests/semmle/go/Types.S1 | field1 |
68- | struct_tags.go:5:3 :5:8 | field2 | github.com/github/codeql-go/ql/test/library-tests/semmle/go/Types.S1 | field2 |
69- | struct_tags.go:9:3 :9:8 | field1 | github.com/github/codeql-go/ql/test/library-tests/semmle/go/Types.S2 | field1 |
70- | struct_tags.go:10:3 :10:8 | field2 | github.com/github/codeql-go/ql/test/library-tests/semmle/go/Types.S2 | field2 |
67+ | struct_tags.go:4:2 :4:7 | field1 | github.com/github/codeql-go/ql/test/library-tests/semmle/go/Types.S1 | field1 |
68+ | struct_tags.go:5:2 :5:7 | field2 | github.com/github/codeql-go/ql/test/library-tests/semmle/go/Types.S1 | field2 |
69+ | struct_tags.go:9:2 :9:7 | field1 | github.com/github/codeql-go/ql/test/library-tests/semmle/go/Types.S2 | field1 |
70+ | struct_tags.go:10:2 :10:7 | field2 | github.com/github/codeql-go/ql/test/library-tests/semmle/go/Types.S2 | field2 |
Original file line number Diff line number Diff line change 6464| pkg2/tst.go:4:2:4:2 | g | github.com/github/codeql-go/ql/test/library-tests/semmle/go/Types/pkg2 | T | g |
6565| pkg2/tst.go:8:2:8:2 | g | github.com/github/codeql-go/ql/test/library-tests/semmle/go/Types/pkg2 | G | g |
6666| pkg2/tst.go:8:2:8:2 | g | github.com/github/codeql-go/ql/test/library-tests/semmle/go/Types/pkg2 | T | g |
67- | struct_tags.go:4:3 :4:8 | field1 | github.com/github/codeql-go/ql/test/library-tests/semmle/go/Types | S1 | field1 |
68- | struct_tags.go:5:3 :5:8 | field2 | github.com/github/codeql-go/ql/test/library-tests/semmle/go/Types | S1 | field2 |
69- | struct_tags.go:9:3 :9:8 | field1 | github.com/github/codeql-go/ql/test/library-tests/semmle/go/Types | S2 | field1 |
70- | struct_tags.go:10:3 :10:8 | field2 | github.com/github/codeql-go/ql/test/library-tests/semmle/go/Types | S2 | field2 |
67+ | struct_tags.go:4:2 :4:7 | field1 | github.com/github/codeql-go/ql/test/library-tests/semmle/go/Types | S1 | field1 |
68+ | struct_tags.go:5:2 :5:7 | field2 | github.com/github/codeql-go/ql/test/library-tests/semmle/go/Types | S1 | field2 |
69+ | struct_tags.go:9:2 :9:7 | field1 | github.com/github/codeql-go/ql/test/library-tests/semmle/go/Types | S2 | field1 |
70+ | struct_tags.go:10:2 :10:7 | field2 | github.com/github/codeql-go/ql/test/library-tests/semmle/go/Types | S2 | field2 |
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 |
62+ | pkg2/tst.go:12:2 :12:9 | Exported | github.com/github/codeql-go/ql/test/library-tests/semmle/go/Types/pkg2.MixedExportedAndNot | Exported |
63+ | pkg2/tst.go:13:2 :13:12 | 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 |
62+ | pkg2/tst.go:12:2 :12:9 | Exported | github.com/github/codeql-go/ql/test/library-tests/semmle/go/Types/pkg2 | MixedExportedAndNot | Exported |
63+ | pkg2/tst.go:13:2 :13:12 | 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 |
28+ | MixedExportedAndNot | Exported | pkg2/tst.go:12:2 :12:9 | Exported |
2929| MixedExportedAndNot | notExported | pkg1/interfaces.go:37:2:37:12 | notExported |
30- | MixedExportedAndNot | notExported | pkg2/tst.go:13:9 :13:19 | notExported |
30+ | MixedExportedAndNot | notExported | pkg2/tst.go:13:2 :13:12 | notExported |
3131| MyInterface | clone | generic.go:48:2:48:6 | clone |
3232| MyInterface | dummy1 | generic.go:49:2:49:7 | dummy1 |
3333| MyInterface | dummy2 | generic.go:50:2:50:7 | dummy2 |
Original file line number Diff line number Diff line change @@ -9,6 +9,6 @@ type G struct {
99}
1010
1111type MixedExportedAndNot interface {
12- Exported ()
13- notExported ()
12+ Exported ()
13+ notExported ()
1414}
Original file line number Diff line number Diff line change 1- | struct { field1 int `tag1a`; field2 int `tag2a` } | struct_tags.go:4:3 :4:8 | field1 | tag1a |
2- | struct { field1 int `tag1a`; field2 int `tag2a` } | struct_tags.go:5:3 :5:8 | field2 | tag2a |
3- | struct { field1 int `tag1b`; field2 int `tag2b` } | struct_tags.go:9:3 :9:8 | field1 | tag1b |
4- | struct { field1 int `tag1b`; field2 int `tag2b` } | struct_tags.go:10:3 :10:8 | field2 | tag2b |
1+ | struct { field1 int `tag1a`; field2 int `tag2a` } | struct_tags.go:4:2 :4:7 | field1 | tag1a |
2+ | struct { field1 int `tag1a`; field2 int `tag2a` } | struct_tags.go:5:2 :5:7 | field2 | tag2a |
3+ | struct { field1 int `tag1b`; field2 int `tag2b` } | struct_tags.go:9:2 :9:7 | field1 | tag1b |
4+ | struct { field1 int `tag1b`; field2 int `tag2b` } | struct_tags.go:10:2 :10:7 | field2 | tag2b |
Original file line number Diff line number Diff line change 11package main
22
33type S1 struct {
4- field1 int `tag1a`
5- field2 int `tag2a`
4+ field1 int `tag1a`
5+ field2 int `tag2a`
66}
77
88type S2 struct {
9- field1 int `tag1b`
10- field2 int `tag2b`
9+ field1 int `tag1b`
10+ field2 int `tag2b`
1111}
You can’t perform that action at this time.
0 commit comments