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 {
344344 )
345345 }
346346
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
349349 or
350- this .legalMergeCandidate ( cls , ConsList ( Empty ( ) , remaining ) )
350+ this .legalMergeCandidate ( cls , ConsList ( Empty ( ) , remainingList ) )
351351 or
352- this .legalMergeCandidateNonEmpty ( cls , remaining , Empty ( ) )
352+ this .legalMergeCandidateNonEmpty ( cls , remainingList , Empty ( ) )
353353 }
354354
355355 pragma [ noinline]
@@ -419,7 +419,9 @@ private ClassListList list_of_linearization_of_bases_plus_bases(ClassObjectInter
419419 result = ConsList ( bases ( cls ) , EmptyList ( ) ) and n = Types:: base_count ( cls ) and n > 1
420420 or
421421 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
423425 result = ConsList ( Mro:: newStyleMro ( Types:: getBase ( cls , n ) ) , partial )
424426 )
425427}
You can’t perform that action at this time.
0 commit comments