Skip to content

Commit

Permalink
Test changes to be investigated
Browse files Browse the repository at this point in the history
  • Loading branch information
owen-mc committed Dec 13, 2024
1 parent 305353e commit 1267d6a
Show file tree
Hide file tree
Showing 14 changed files with 208 additions and 150 deletions.
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
| main.go:3:6:3:11 | status | package github.com/github/codeql-go/ql/test/library-tests/semmle/go/Decl | status |
| main.go:5:6:5:12 | intlist | package github.com/github/codeql-go/ql/test/library-tests/semmle/go/Decl | []int |
| main.go:5:6:5:12 | intlist | package github.com/github/codeql-go/ql/test/library-tests/semmle/go/Decl | intlist |
188 changes: 94 additions & 94 deletions go/ql/test/library-tests/semmle/go/Function/TypeParamType.expected
Original file line number Diff line number Diff line change
Expand Up @@ -24,192 +24,192 @@ numberOfTypeParameters
| cmp.Less | 0 | T | Ordered |
| cmp.Or | 0 | T | comparable |
| cmp.isNaN | 0 | T | Ordered |
| codeql-go-tests/function.EdgeConstraint | 0 | TP117 | interface { } |
| codeql-go-tests/function.Element | 0 | TP113 | interface { } |
| codeql-go-tests/function.GenericFunctionInAnotherFile | 0 | TP200 | interface { } |
| codeql-go-tests/function.GenericFunctionOneTypeParam | 0 | TP101 | interface { } |
| codeql-go-tests/function.EdgeConstraint | 0 | TP117 | any |
| codeql-go-tests/function.Element | 0 | TP113 | any |
| codeql-go-tests/function.GenericFunctionInAnotherFile | 0 | TP200 | any |
| codeql-go-tests/function.GenericFunctionOneTypeParam | 0 | TP101 | any |
| codeql-go-tests/function.GenericFunctionTwoTypeParams | 0 | TP102 | comparable |
| codeql-go-tests/function.GenericFunctionTwoTypeParams | 1 | TP103 | interface { int64 \| float64 } |
| codeql-go-tests/function.GenericStruct1 | 0 | TP104 | interface { } |
| codeql-go-tests/function.GenericStruct1.f1 | 0 | TP107 | interface { } |
| codeql-go-tests/function.GenericStruct1.g1 | 0 | TP108 | interface { } |
| codeql-go-tests/function.GenericStruct2 | 0 | TP105 | interface { } |
| codeql-go-tests/function.GenericStruct2 | 1 | TP106 | interface { } |
| codeql-go-tests/function.GenericStruct2.f2 | 0 | TP109 | interface { } |
| codeql-go-tests/function.GenericStruct2.f2 | 1 | TP110 | interface { } |
| codeql-go-tests/function.GenericStruct2.g2 | 0 | TP111 | interface { } |
| codeql-go-tests/function.GenericStruct2.g2 | 1 | TP112 | interface { } |
| codeql-go-tests/function.GenericStruct2 | 0 | TP105 | any |
| codeql-go-tests/function.GenericStruct2 | 1 | TP106 | any |
| codeql-go-tests/function.GenericStruct2.f2 | 0 | TP109 | any |
| codeql-go-tests/function.GenericStruct2.f2 | 1 | TP110 | any |
| codeql-go-tests/function.GenericStruct2.g2 | 0 | TP111 | any |
| codeql-go-tests/function.GenericStruct2.g2 | 1 | TP112 | any |
| codeql-go-tests/function.Graph | 0 | TP118 | NodeConstraint |
| codeql-go-tests/function.Graph | 1 | TP119 | EdgeConstraint |
| codeql-go-tests/function.Graph.ShortestPath | 0 | TP122 | NodeConstraint |
| codeql-go-tests/function.Graph.ShortestPath | 1 | TP123 | EdgeConstraint |
| codeql-go-tests/function.List | 0 | TP114 | interface { } |
| codeql-go-tests/function.List.MyLen | 0 | TP115 | interface { } |
| codeql-go-tests/function.List | 0 | TP114 | any |
| codeql-go-tests/function.List.MyLen | 0 | TP115 | any |
| codeql-go-tests/function.New | 0 | TP120 | NodeConstraint |
| codeql-go-tests/function.New | 1 | TP121 | EdgeConstraint |
| codeql-go-tests/function.NodeConstraint | 0 | TP116 | interface { } |
| codeql-go-tests/function.multipleAnonymousTypeParamsFunc | 0 | _ | interface { } |
| codeql-go-tests/function.NodeConstraint | 0 | TP116 | any |
| codeql-go-tests/function.multipleAnonymousTypeParamsFunc | 0 | _ | any |
| codeql-go-tests/function.multipleAnonymousTypeParamsFunc | 1 | _ | interface { string } |
| codeql-go-tests/function.multipleAnonymousTypeParamsFunc | 2 | _ | interface { } |
| codeql-go-tests/function.multipleAnonymousTypeParamsType | 0 | _ | interface { } |
| codeql-go-tests/function.multipleAnonymousTypeParamsFunc | 2 | _ | any |
| codeql-go-tests/function.multipleAnonymousTypeParamsType | 0 | _ | any |
| codeql-go-tests/function.multipleAnonymousTypeParamsType | 1 | _ | interface { string } |
| codeql-go-tests/function.multipleAnonymousTypeParamsType | 2 | _ | interface { } |
| codeql-go-tests/function.multipleAnonymousTypeParamsType.f | 0 | _ | interface { } |
| codeql-go-tests/function.multipleAnonymousTypeParamsType | 2 | _ | any |
| codeql-go-tests/function.multipleAnonymousTypeParamsType.f | 0 | _ | any |
| codeql-go-tests/function.multipleAnonymousTypeParamsType.f | 1 | _ | interface { string } |
| codeql-go-tests/function.multipleAnonymousTypeParamsType.f | 2 | _ | interface { } |
| github.com/anotherpkg.GenericFunctionInAnotherPackage | 0 | T | interface { } |
| internal/abi.Escape | 0 | T | interface { } |
| codeql-go-tests/function.multipleAnonymousTypeParamsType.f | 2 | _ | any |
| github.com/anotherpkg.GenericFunctionInAnotherPackage | 0 | T | any |
| internal/abi.Escape | 0 | T | any |
| internal/bytealg.HashStr | 0 | T | interface { string \| []uint8 } |
| internal/bytealg.HashStrRev | 0 | T | interface { string \| []uint8 } |
| internal/bytealg.IndexRabinKarp | 0 | T | interface { string \| []uint8 } |
| internal/bytealg.LastIndexRabinKarp | 0 | T | interface { string \| []uint8 } |
| internal/runtime/atomic.Pointer.CompareAndSwap | 0 | T | interface { } |
| internal/runtime/atomic.Pointer.CompareAndSwapNoWB | 0 | T | interface { } |
| internal/runtime/atomic.Pointer.Load | 0 | T | interface { } |
| internal/runtime/atomic.Pointer.Store | 0 | T | interface { } |
| internal/runtime/atomic.Pointer.StoreNoWB | 0 | T | interface { } |
| iter.Pull | 0 | V | interface { } |
| iter.Pull2 | 0 | K | interface { } |
| iter.Pull2 | 1 | V | interface { } |
| iter.Seq | 0 | V | interface { } |
| iter.Seq2 | 0 | K | interface { } |
| iter.Seq2 | 1 | V | interface { } |
| internal/runtime/atomic.Pointer.CompareAndSwap | 0 | T | any |
| internal/runtime/atomic.Pointer.CompareAndSwapNoWB | 0 | T | any |
| internal/runtime/atomic.Pointer.Load | 0 | T | any |
| internal/runtime/atomic.Pointer.Store | 0 | T | any |
| internal/runtime/atomic.Pointer.StoreNoWB | 0 | T | any |
| iter.Pull | 0 | V | any |
| iter.Pull2 | 0 | K | any |
| iter.Pull2 | 1 | V | any |
| iter.Seq | 0 | V | any |
| iter.Seq2 | 0 | K | any |
| iter.Seq2 | 1 | V | any |
| reflect.rangeNum | 1 | N | interface { int64 \| uint64 } |
| runtime.fandbits | 0 | F | floaty |
| runtime.fmax | 0 | F | floaty |
| runtime.fmin | 0 | F | floaty |
| runtime.forbits | 0 | F | floaty |
| runtime.noEscapePtr | 0 | T | interface { } |
| runtime.noEscapePtr | 0 | T | any |
| slices.All | 0 | Slice | interface { ~[]E } |
| slices.All | 1 | E | interface { } |
| slices.All | 1 | E | any |
| slices.AppendSeq | 0 | Slice | interface { ~[]E } |
| slices.AppendSeq | 1 | E | interface { } |
| slices.AppendSeq | 1 | E | any |
| slices.Backward | 0 | Slice | interface { ~[]E } |
| slices.Backward | 1 | E | interface { } |
| slices.Backward | 1 | E | any |
| slices.BinarySearch | 0 | S | interface { ~[]E } |
| slices.BinarySearch | 1 | E | Ordered |
| slices.BinarySearchFunc | 0 | S | interface { ~[]E } |
| slices.BinarySearchFunc | 1 | E | interface { } |
| slices.BinarySearchFunc | 2 | T | interface { } |
| slices.BinarySearchFunc | 1 | E | any |
| slices.BinarySearchFunc | 2 | T | any |
| slices.Chunk | 0 | Slice | interface { ~[]E } |
| slices.Chunk | 1 | E | interface { } |
| slices.Chunk | 1 | E | any |
| slices.Clip | 0 | S | interface { ~[]E } |
| slices.Clip | 1 | E | interface { } |
| slices.Clip | 1 | E | any |
| slices.Clone | 0 | S | interface { ~[]E } |
| slices.Clone | 1 | E | interface { } |
| slices.Collect | 0 | E | interface { } |
| slices.Clone | 1 | E | any |
| slices.Collect | 0 | E | any |
| slices.Compact | 0 | S | interface { ~[]E } |
| slices.Compact | 1 | E | comparable |
| slices.CompactFunc | 0 | S | interface { ~[]E } |
| slices.CompactFunc | 1 | E | interface { } |
| slices.CompactFunc | 1 | E | any |
| slices.Compare | 0 | S | interface { ~[]E } |
| slices.Compare | 1 | E | Ordered |
| slices.CompareFunc | 0 | S1 | interface { ~[]E1 } |
| slices.CompareFunc | 1 | S2 | interface { ~[]E2 } |
| slices.CompareFunc | 2 | E1 | interface { } |
| slices.CompareFunc | 3 | E2 | interface { } |
| slices.CompareFunc | 2 | E1 | any |
| slices.CompareFunc | 3 | E2 | any |
| slices.Concat | 0 | S | interface { ~[]E } |
| slices.Concat | 1 | E | interface { } |
| slices.Concat | 1 | E | any |
| slices.Contains | 0 | S | interface { ~[]E } |
| slices.Contains | 1 | E | comparable |
| slices.ContainsFunc | 0 | S | interface { ~[]E } |
| slices.ContainsFunc | 1 | E | interface { } |
| slices.ContainsFunc | 1 | E | any |
| slices.Delete | 0 | S | interface { ~[]E } |
| slices.Delete | 1 | E | interface { } |
| slices.Delete | 1 | E | any |
| slices.DeleteFunc | 0 | S | interface { ~[]E } |
| slices.DeleteFunc | 1 | E | interface { } |
| slices.DeleteFunc | 1 | E | any |
| slices.Equal | 0 | S | interface { ~[]E } |
| slices.Equal | 1 | E | comparable |
| slices.EqualFunc | 0 | S1 | interface { ~[]E1 } |
| slices.EqualFunc | 1 | S2 | interface { ~[]E2 } |
| slices.EqualFunc | 2 | E1 | interface { } |
| slices.EqualFunc | 3 | E2 | interface { } |
| slices.EqualFunc | 2 | E1 | any |
| slices.EqualFunc | 3 | E2 | any |
| slices.Grow | 0 | S | interface { ~[]E } |
| slices.Grow | 1 | E | interface { } |
| slices.Grow | 1 | E | any |
| slices.Index | 0 | S | interface { ~[]E } |
| slices.Index | 1 | E | comparable |
| slices.IndexFunc | 0 | S | interface { ~[]E } |
| slices.IndexFunc | 1 | E | interface { } |
| slices.IndexFunc | 1 | E | any |
| slices.Insert | 0 | S | interface { ~[]E } |
| slices.Insert | 1 | E | interface { } |
| slices.Insert | 1 | E | any |
| slices.IsSorted | 0 | S | interface { ~[]E } |
| slices.IsSorted | 1 | E | Ordered |
| slices.IsSortedFunc | 0 | S | interface { ~[]E } |
| slices.IsSortedFunc | 1 | E | interface { } |
| slices.IsSortedFunc | 1 | E | any |
| slices.Max | 0 | S | interface { ~[]E } |
| slices.Max | 1 | E | Ordered |
| slices.MaxFunc | 0 | S | interface { ~[]E } |
| slices.MaxFunc | 1 | E | interface { } |
| slices.MaxFunc | 1 | E | any |
| slices.Min | 0 | S | interface { ~[]E } |
| slices.Min | 1 | E | Ordered |
| slices.MinFunc | 0 | S | interface { ~[]E } |
| slices.MinFunc | 1 | E | interface { } |
| slices.MinFunc | 1 | E | any |
| slices.Repeat | 0 | S | interface { ~[]E } |
| slices.Repeat | 1 | E | interface { } |
| slices.Repeat | 1 | E | any |
| slices.Replace | 0 | S | interface { ~[]E } |
| slices.Replace | 1 | E | interface { } |
| slices.Replace | 1 | E | any |
| slices.Reverse | 0 | S | interface { ~[]E } |
| slices.Reverse | 1 | E | interface { } |
| slices.Reverse | 1 | E | any |
| slices.Sort | 0 | S | interface { ~[]E } |
| slices.Sort | 1 | E | Ordered |
| slices.SortFunc | 0 | S | interface { ~[]E } |
| slices.SortFunc | 1 | E | interface { } |
| slices.SortFunc | 1 | E | any |
| slices.SortStableFunc | 0 | S | interface { ~[]E } |
| slices.SortStableFunc | 1 | E | interface { } |
| slices.SortStableFunc | 1 | E | any |
| slices.Sorted | 0 | E | Ordered |
| slices.SortedFunc | 0 | E | interface { } |
| slices.SortedStableFunc | 0 | E | interface { } |
| slices.SortedFunc | 0 | E | any |
| slices.SortedStableFunc | 0 | E | any |
| slices.Values | 0 | Slice | interface { ~[]E } |
| slices.Values | 1 | E | interface { } |
| slices.breakPatternsCmpFunc | 0 | E | interface { } |
| slices.Values | 1 | E | any |
| slices.breakPatternsCmpFunc | 0 | E | any |
| slices.breakPatternsOrdered | 0 | E | Ordered |
| slices.choosePivotCmpFunc | 0 | E | interface { } |
| slices.choosePivotCmpFunc | 0 | E | any |
| slices.choosePivotOrdered | 0 | E | Ordered |
| slices.heapSortCmpFunc | 0 | E | interface { } |
| slices.heapSortCmpFunc | 0 | E | any |
| slices.heapSortOrdered | 0 | E | Ordered |
| slices.insertionSortCmpFunc | 0 | E | interface { } |
| slices.insertionSortCmpFunc | 0 | E | any |
| slices.insertionSortOrdered | 0 | E | Ordered |
| slices.isNaN | 0 | T | Ordered |
| slices.medianAdjacentCmpFunc | 0 | E | interface { } |
| slices.medianAdjacentCmpFunc | 0 | E | any |
| slices.medianAdjacentOrdered | 0 | E | Ordered |
| slices.medianCmpFunc | 0 | E | interface { } |
| slices.medianCmpFunc | 0 | E | any |
| slices.medianOrdered | 0 | E | Ordered |
| slices.order2CmpFunc | 0 | E | interface { } |
| slices.order2CmpFunc | 0 | E | any |
| slices.order2Ordered | 0 | E | Ordered |
| slices.overlaps | 0 | E | interface { } |
| slices.partialInsertionSortCmpFunc | 0 | E | interface { } |
| slices.overlaps | 0 | E | any |
| slices.partialInsertionSortCmpFunc | 0 | E | any |
| slices.partialInsertionSortOrdered | 0 | E | Ordered |
| slices.partitionCmpFunc | 0 | E | interface { } |
| slices.partitionEqualCmpFunc | 0 | E | interface { } |
| slices.partitionCmpFunc | 0 | E | any |
| slices.partitionEqualCmpFunc | 0 | E | any |
| slices.partitionEqualOrdered | 0 | E | Ordered |
| slices.partitionOrdered | 0 | E | Ordered |
| slices.pdqsortCmpFunc | 0 | E | interface { } |
| slices.pdqsortCmpFunc | 0 | E | any |
| slices.pdqsortOrdered | 0 | E | Ordered |
| slices.reverseRangeCmpFunc | 0 | E | interface { } |
| slices.reverseRangeCmpFunc | 0 | E | any |
| slices.reverseRangeOrdered | 0 | E | Ordered |
| slices.rotateCmpFunc | 0 | E | interface { } |
| slices.rotateLeft | 0 | E | interface { } |
| slices.rotateCmpFunc | 0 | E | any |
| slices.rotateLeft | 0 | E | any |
| slices.rotateOrdered | 0 | E | Ordered |
| slices.rotateRight | 0 | E | interface { } |
| slices.siftDownCmpFunc | 0 | E | interface { } |
| slices.rotateRight | 0 | E | any |
| slices.siftDownCmpFunc | 0 | E | any |
| slices.siftDownOrdered | 0 | E | Ordered |
| slices.stableCmpFunc | 0 | E | interface { } |
| slices.stableCmpFunc | 0 | E | any |
| slices.stableOrdered | 0 | E | Ordered |
| slices.startIdx | 0 | E | interface { } |
| slices.swapRangeCmpFunc | 0 | E | interface { } |
| slices.startIdx | 0 | E | any |
| slices.swapRangeCmpFunc | 0 | E | any |
| slices.swapRangeOrdered | 0 | E | Ordered |
| slices.symMergeCmpFunc | 0 | E | interface { } |
| slices.symMergeCmpFunc | 0 | E | any |
| slices.symMergeOrdered | 0 | E | Ordered |
| strconv.bsearch | 0 | S | interface { ~[]E } |
| strconv.bsearch | 1 | E | interface { ~uint16 \| ~uint32 } |
| sync.OnceValue | 0 | T | interface { } |
| sync.OnceValues | 0 | T1 | interface { } |
| sync.OnceValues | 1 | T2 | interface { } |
| sync/atomic.Pointer | 0 | T | interface { } |
| sync/atomic.Pointer.CompareAndSwap | 0 | T | interface { } |
| sync/atomic.Pointer.Load | 0 | T | interface { } |
| sync/atomic.Pointer.Store | 0 | T | interface { } |
| sync/atomic.Pointer.Swap | 0 | T | interface { } |
| sync.OnceValue | 0 | T | any |
| sync.OnceValues | 0 | T1 | any |
| sync.OnceValues | 1 | T2 | any |
| sync/atomic.Pointer | 0 | T | any |
| sync/atomic.Pointer.CompareAndSwap | 0 | T | any |
| sync/atomic.Pointer.Load | 0 | T | any |
| sync/atomic.Pointer.Store | 0 | T | any |
| sync/atomic.Pointer.Swap | 0 | T | any |
| time.atoi | 0 | bytes | interface { []uint8 \| string } |
| time.isDigit | 0 | bytes | interface { []uint8 \| string } |
| time.leadingInt | 0 | bytes | interface { []uint8 \| string } |
Expand Down
Loading

0 comments on commit 1267d6a

Please sign in to comment.