File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed
shared/mad/codeql/mad/modelgenerator/internal Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -673,23 +673,21 @@ module MakeModelGenerator<
673
673
}
674
674
675
675
private string getReversedHash ( PropagateContentFlow:: AccessPath ap ) {
676
- result = concat ( int i | | getHashAtIndex ( ap , i ) , "" order by i desc )
676
+ result = strictconcat ( int i | | getHashAtIndex ( ap , i ) , ". " order by i desc )
677
677
}
678
678
679
679
private string getHash ( PropagateContentFlow:: AccessPath ap ) {
680
- result = concat ( int i | | getHashAtIndex ( ap , i ) , "" order by i )
680
+ result = strictconcat ( int i | | getHashAtIndex ( ap , i ) , ". " order by i )
681
681
}
682
682
683
683
/**
684
- * Gets all access paths that contains the synthetic fields
684
+ * Gets all access paths that contain the synthetic fields
685
685
* from `ap` in reverse order (if `ap` contains at least one synthetic field).
686
686
* These are the possible candidates for synthetic path continuations.
687
687
*/
688
688
private PropagateContentFlow:: AccessPath getSyntheticPathCandidate (
689
689
PropagateContentFlow:: AccessPath ap
690
690
) {
691
- hasSyntheticContent ( ap ) and
692
- hasSyntheticContent ( result ) and
693
691
getHash ( ap ) = getReversedHash ( result )
694
692
}
695
693
You can’t perform that action at this time.
0 commit comments