Incidental fix to CaseClause.getAnExpr()

This commit is contained in:
Owen Mansel-Chan
2026-06-03 16:38:46 +01:00
parent f0576046b1
commit 65513b8cd2

View File

@@ -761,7 +761,7 @@ class CaseClause extends @caseclause, Stmt, ScopeNode {
*
* Note that the default clause does not have any expressions.
*/
Expr getAnExpr() { result = this.getAChildExpr() }
Expr getAnExpr() { result = this.getExpr(_) }
/**
* Gets the number of expressions of this `case` clause.