From 134cc48c7585a3fa04fc6dc50c0df69b0409bad6 Mon Sep 17 00:00:00 2001 From: Owen Mansel-Chan Date: Fri, 29 May 2026 23:32:41 +0100 Subject: [PATCH] Restore `ExprNode` for `FuncLit` --- go/ql/lib/semmle/go/controlflow/ControlFlowGraphShared.qll | 2 ++ 1 file changed, 2 insertions(+) diff --git a/go/ql/lib/semmle/go/controlflow/ControlFlowGraphShared.qll b/go/ql/lib/semmle/go/controlflow/ControlFlowGraphShared.qll index 21ba13cea95..e35d064257b 100644 --- a/go/ql/lib/semmle/go/controlflow/ControlFlowGraphShared.qll +++ b/go/ql/lib/semmle/go/controlflow/ControlFlowGraphShared.qll @@ -366,6 +366,8 @@ module GoCfg { or n instanceof Go::BasicLit or + n instanceof Go::FuncLit + or n instanceof Go::CallExpr and not n = any(Go::DeferStmt defer).getCall() and not n = any(Go::GoStmt go_).getCall()