Skip to content

Commit 2597ef6

Browse files
committed
Dataflow: Avoid duplication in fwdFlow1 disjunction.
1 parent b2d42ee commit 2597ef6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

shared/dataflow/codeql/dataflow/internal/DataFlowImpl.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -415,7 +415,7 @@ module MakeImpl<LocationSig Location, InputSig<Location> Lang> {
415415
private predicate compatibleContainer0(ApHeadContent apc, DataFlowType containerType) {
416416
exists(DataFlowType containerType0, Content c |
417417
PrevStage::storeStepCand(_, c, _, _, containerType0) and
418-
not isTopType(containerType0) and
418+
not topTypeContent(apc) and
419419
compatibleTypesCached(containerType0, containerType) and
420420
apc = projectToHeadContent(c)
421421
)

0 commit comments

Comments
 (0)