Skip to content

Commit d6a7c87

Browse files
author
Dave Bartolomeo
committed
Update test expectations after merge
1 parent 485fc04 commit d6a7c87

File tree

1 file changed

+31
-6
lines changed

1 file changed

+31
-6
lines changed

go/ql/test/library-tests/semmle/go/Function/TypeParamType.expected

Lines changed: 31 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -58,29 +58,46 @@ numberOfTypeParameters
5858
| codeql-go-tests/function.multipleAnonymousTypeParamsType.f | 1 | _ | interface { string } |
5959
| codeql-go-tests/function.multipleAnonymousTypeParamsType.f | 2 | _ | interface { } |
6060
| github.com/anotherpkg.GenericFunctionInAnotherPackage | 0 | T | interface { } |
61+
| internal/abi.Escape | 0 | T | interface { } |
6162
| internal/bytealg.HashStr | 0 | T | interface { string \| []uint8 } |
6263
| internal/bytealg.HashStrRev | 0 | T | interface { string \| []uint8 } |
6364
| internal/bytealg.IndexRabinKarp | 0 | T | interface { string \| []uint8 } |
6465
| internal/bytealg.LastIndexRabinKarp | 0 | T | interface { string \| []uint8 } |
66+
| internal/runtime/atomic.Pointer.CompareAndSwap | 0 | T | interface { } |
67+
| internal/runtime/atomic.Pointer.CompareAndSwapNoWB | 0 | T | interface { } |
68+
| internal/runtime/atomic.Pointer.Load | 0 | T | interface { } |
69+
| internal/runtime/atomic.Pointer.Store | 0 | T | interface { } |
70+
| internal/runtime/atomic.Pointer.StoreNoWB | 0 | T | interface { } |
71+
| iter.Pull | 0 | V | interface { } |
72+
| iter.Pull2 | 0 | K | interface { } |
73+
| iter.Pull2 | 1 | V | interface { } |
74+
| iter.Seq | 0 | V | interface { } |
75+
| iter.Seq2 | 0 | K | interface { } |
76+
| iter.Seq2 | 1 | V | interface { } |
77+
| reflect.rangeNum | 1 | N | interface { int64 \| uint64 } |
6578
| runtime.fandbits | 0 | F | floaty |
6679
| runtime.fmax | 0 | F | floaty |
6780
| runtime.fmin | 0 | F | floaty |
6881
| runtime.forbits | 0 | F | floaty |
6982
| runtime.noEscapePtr | 0 | T | interface { } |
70-
| runtime/internal/atomic.Pointer.CompareAndSwap | 0 | T | interface { } |
71-
| runtime/internal/atomic.Pointer.CompareAndSwapNoWB | 0 | T | interface { } |
72-
| runtime/internal/atomic.Pointer.Load | 0 | T | interface { } |
73-
| runtime/internal/atomic.Pointer.Store | 0 | T | interface { } |
74-
| runtime/internal/atomic.Pointer.StoreNoWB | 0 | T | interface { } |
83+
| slices.All | 0 | Slice | interface { ~[]E } |
84+
| slices.All | 1 | E | interface { } |
85+
| slices.AppendSeq | 0 | Slice | interface { ~[]E } |
86+
| slices.AppendSeq | 1 | E | interface { } |
87+
| slices.Backward | 0 | Slice | interface { ~[]E } |
88+
| slices.Backward | 1 | E | interface { } |
7589
| slices.BinarySearch | 0 | S | interface { ~[]E } |
7690
| slices.BinarySearch | 1 | E | Ordered |
7791
| slices.BinarySearchFunc | 0 | S | interface { ~[]E } |
7892
| slices.BinarySearchFunc | 1 | E | interface { } |
7993
| slices.BinarySearchFunc | 2 | T | interface { } |
94+
| slices.Chunk | 0 | Slice | interface { ~[]E } |
95+
| slices.Chunk | 1 | E | interface { } |
8096
| slices.Clip | 0 | S | interface { ~[]E } |
8197
| slices.Clip | 1 | E | interface { } |
8298
| slices.Clone | 0 | S | interface { ~[]E } |
8399
| slices.Clone | 1 | E | interface { } |
100+
| slices.Collect | 0 | E | interface { } |
84101
| slices.Compact | 0 | S | interface { ~[]E } |
85102
| slices.Compact | 1 | E | comparable |
86103
| slices.CompactFunc | 0 | S | interface { ~[]E } |
@@ -127,6 +144,8 @@ numberOfTypeParameters
127144
| slices.Min | 1 | E | Ordered |
128145
| slices.MinFunc | 0 | S | interface { ~[]E } |
129146
| slices.MinFunc | 1 | E | interface { } |
147+
| slices.Repeat | 0 | S | interface { ~[]E } |
148+
| slices.Repeat | 1 | E | interface { } |
130149
| slices.Replace | 0 | S | interface { ~[]E } |
131150
| slices.Replace | 1 | E | interface { } |
132151
| slices.Reverse | 0 | S | interface { ~[]E } |
@@ -137,6 +156,11 @@ numberOfTypeParameters
137156
| slices.SortFunc | 1 | E | interface { } |
138157
| slices.SortStableFunc | 0 | S | interface { ~[]E } |
139158
| slices.SortStableFunc | 1 | E | interface { } |
159+
| slices.Sorted | 0 | E | Ordered |
160+
| slices.SortedFunc | 0 | E | interface { } |
161+
| slices.SortedStableFunc | 0 | E | interface { } |
162+
| slices.Values | 0 | Slice | interface { ~[]E } |
163+
| slices.Values | 1 | E | interface { } |
140164
| slices.breakPatternsCmpFunc | 0 | E | interface { } |
141165
| slices.breakPatternsOrdered | 0 | E | Ordered |
142166
| slices.choosePivotCmpFunc | 0 | E | interface { } |
@@ -172,11 +196,12 @@ numberOfTypeParameters
172196
| slices.stableCmpFunc | 0 | E | interface { } |
173197
| slices.stableOrdered | 0 | E | Ordered |
174198
| slices.startIdx | 0 | E | interface { } |
175-
| slices.swap | 0 | E | interface { } |
176199
| slices.swapRangeCmpFunc | 0 | E | interface { } |
177200
| slices.swapRangeOrdered | 0 | E | Ordered |
178201
| slices.symMergeCmpFunc | 0 | E | interface { } |
179202
| slices.symMergeOrdered | 0 | E | Ordered |
203+
| strconv.bsearch | 0 | S | interface { ~[]E } |
204+
| strconv.bsearch | 1 | E | interface { ~uint16 \| ~uint32 } |
180205
| sync.OnceValue | 0 | T | interface { } |
181206
| sync.OnceValues | 0 | T1 | interface { } |
182207
| sync.OnceValues | 1 | T2 | interface { } |

0 commit comments

Comments
 (0)