diff --git a/java/ql/src/semmle/code/java/Expr.qll b/java/ql/src/semmle/code/java/Expr.qll index afed3bafd0e..37cc608d878 100755 --- a/java/ql/src/semmle/code/java/Expr.qll +++ b/java/ql/src/semmle/code/java/Expr.qll @@ -1016,7 +1016,7 @@ class LambdaExpr extends FunctionalExpr, @lambdaexpr { } /** Gets the body of this lambda expression, if it is a statement. */ - Stmt getStmtBody() { hasStmtBody() and result = asMethod().getBody() } + Block getStmtBody() { hasStmtBody() and result = asMethod().getBody() } /** Gets a printable representation of this expression. */ override string toString() { result = "...->..." }