mirror of
https://github.com/github/codeql.git
synced 2026-03-22 15:36:48 +01:00
Basic extraction of record patterns
This commit is contained in:
@@ -82,7 +82,7 @@ private predicate step(Node n1, Node n2) {
|
||||
)
|
||||
or
|
||||
exists(PatternCase pc |
|
||||
pc.getDecl() = def.(BaseSsaUpdate).getDefiningExpr() and
|
||||
pc.getPattern() = def.(BaseSsaUpdate).getDefiningExpr() and
|
||||
(
|
||||
pc.getSwitch().getExpr() = n1.asExpr()
|
||||
or
|
||||
|
||||
Reference in New Issue
Block a user