mirror of
https://github.com/github/codeql.git
synced 2026-06-23 21:57:01 +02:00
Incidental fix to CaseClause.getAnExpr()
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user