We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f122af8 + b98c482 commit 8988a02Copy full SHA for 8988a02
python/ql/lib/semmle/python/pointsto/MRO.qll
@@ -386,10 +386,10 @@ private class ClassListList extends TClassListList {
386
387
private ClassList flatten_list(ClassListList list, int n) {
388
need_flattening(list) and
389
- exists(ClassList head, ClassListList tail | list = ConsList(head, tail) |
+ exists(ClassList head, ClassListList tail | pragma[only_bind_out](list) = ConsList(head, tail) |
390
n = head.length() and result = tail.flatten()
391
or
392
- result = Cons(head.getItem(n), flatten_list(list, n + 1))
+ result = Cons(head.getItem(n), flatten_list(pragma[only_bind_out](list), n + 1))
393
)
394
}
395
0 commit comments