Commit 10370c5
src: fix multiple AddLinkedBinding() calls
Singly-linked lists are extended at their tail, not their head.
This fixes using more than 2 linked addons at a time.
PR-URL: #39012
Reviewed-By: Shelley Vohr <codebytere@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Richard Lau <rlau@redhat.com>1 parent ded8335 commit 10370c5Copy full SHA for 10370c5
File tree
Expand file treeCollapse file tree
4 files changed
+41
-3
lines changedOpen diff view settings
Filter options
- src
- api
- test/cctest
Expand file treeCollapse file tree
4 files changed
+41
-3
lines changedOpen diff view settings
Collapse file
+3-3Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
655 | 655 | |
656 | 656 | |
657 | 657 | |
658 | | - |
| 658 | + |
659 | 659 | |
660 | | - |
661 | | - |
| 660 | + |
| 661 | + |
662 | 662 | |
663 | 663 | |
664 | 664 | |
|
Collapse file
+5Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
930 | 930 | |
931 | 931 | |
932 | 932 | |
| 933 | + |
| 934 | + |
| 935 | + |
| 936 | + |
| 937 | + |
933 | 938 | |
934 | 939 | |
935 | 940 | |
|
Collapse file
+1Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1208 | 1208 | |
1209 | 1209 | |
1210 | 1210 | |
| 1211 | + |
1211 | 1212 | |
1212 | 1213 | |
1213 | 1214 | |
|
Collapse file
test/cctest/test_linked_binding.cc
Copy file name to clipboardExpand all lines: test/cctest/test_linked_binding.cc+32Lines changed: 32 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
190 | 190 | |
191 | 191 | |
192 | 192 | |
| 193 | + |
| 194 | + |
| 195 | + |
| 196 | + |
| 197 | + |
| 198 | + |
| 199 | + |
| 200 | + |
| 201 | + |
| 202 | + |
| 203 | + |
| 204 | + |
| 205 | + |
| 206 | + |
| 207 | + |
| 208 | + |
| 209 | + |
| 210 | + |
| 211 | + |
| 212 | + |
| 213 | + |
| 214 | + |
| 215 | + |
| 216 | + |
| 217 | + |
| 218 | + |
| 219 | + |
| 220 | + |
| 221 | + |
| 222 | + |
| 223 | + |
| 224 | + |
0 commit comments