Fix a stray use of getPattern

This commit is contained in:
Chris Smowton
2024-03-22 15:03:16 +00:00
parent e59487a324
commit 00c7dd5f92

View File

@@ -1708,7 +1708,7 @@ class LocalVariableDeclExpr extends Expr, @localvariabledeclexpr {
or
pc = result.(SwitchExpr).getAPatternCase()
|
this = pc.getPattern().getAChildExpr*()
this = pc.getAPattern().getAChildExpr*()
)
}