mirror of
https://github.com/github/codeql.git
synced 2026-04-24 16:25:15 +02:00
Fix a stray use of getPattern
This commit is contained in:
@@ -1708,7 +1708,7 @@ class LocalVariableDeclExpr extends Expr, @localvariabledeclexpr {
|
||||
or
|
||||
pc = result.(SwitchExpr).getAPatternCase()
|
||||
|
|
||||
this = pc.getPattern().getAChildExpr*()
|
||||
this = pc.getAPattern().getAChildExpr*()
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user