mirror of
https://github.com/github/codeql.git
synced 2026-04-26 01:05:15 +02:00
Python: Fix internal consistency failures
This commit is contained in:
@@ -17,7 +17,13 @@ private module ConsistencyChecksInput implements ConsistencyChecksInputSig {
|
||||
//
|
||||
// match (NONSOURCE, SOURCE):
|
||||
// case (x, y): ...
|
||||
exists(DataFlow::Node m | m.asCfgNode().getNode() instanceof MatchCapturePattern |
|
||||
exists(DataFlow::Node m |
|
||||
m.asCfgNode().getNode() instanceof MatchCapturePattern
|
||||
or
|
||||
m.asCfgNode().getNode() instanceof MatchAsPattern
|
||||
or
|
||||
m.asCfgNode().getNode() instanceof MatchOrPattern
|
||||
|
|
||||
TypeTrackingInput::simpleLocalSmallStep*(m, n)
|
||||
)
|
||||
or
|
||||
|
||||
Reference in New Issue
Block a user