File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed
python/ql/lib/semmle/python/pointsto Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -344,12 +344,12 @@ private class ClassListList extends TClassListList {
344
344
)
345
345
}
346
346
347
- private predicate legalMergeCandidate ( ClassObjectInternal cls , ClassListList remaining ) {
348
- cls = this .getAHead ( ) and remaining = this
347
+ private predicate legalMergeCandidate ( ClassObjectInternal cls , ClassListList remainingList ) {
348
+ cls = this .getAHead ( ) and remainingList = this
349
349
or
350
- this .legalMergeCandidate ( cls , ConsList ( Empty ( ) , remaining ) )
350
+ this .legalMergeCandidate ( cls , ConsList ( Empty ( ) , remainingList ) )
351
351
or
352
- this .legalMergeCandidateNonEmpty ( cls , remaining , Empty ( ) )
352
+ this .legalMergeCandidateNonEmpty ( cls , remainingList , Empty ( ) )
353
353
}
354
354
355
355
pragma [ noinline]
@@ -419,7 +419,9 @@ private ClassListList list_of_linearization_of_bases_plus_bases(ClassObjectInter
419
419
result = ConsList ( bases ( cls ) , EmptyList ( ) ) and n = Types:: base_count ( cls ) and n > 1
420
420
or
421
421
exists ( ClassListList partial |
422
- partial = list_of_linearization_of_bases_plus_bases ( cls , n + 1 ) and
422
+ partial =
423
+ list_of_linearization_of_bases_plus_bases ( pragma [ only_bind_into ] ( cls ) ,
424
+ pragma [ only_bind_into ] ( n + 1 ) ) and
423
425
result = ConsList ( Mro:: newStyleMro ( Types:: getBase ( cls , n ) ) , partial )
424
426
)
425
427
}
You can’t perform that action at this time.
0 commit comments