From 9b6dd60615ff6c0133cc0a33ca825c5f87e27930 Mon Sep 17 00:00:00 2001 From: rverme <72386375+rverme@users.noreply.github.com> Date: Fri, 1 Apr 2022 09:37:56 +0200 Subject: [PATCH] Address incorrectly reference parameter in QLdoc The qldoc of the predicate `isParameterOf` mentions the parameter `fd` that does not exists and is possible replaced by `c` --- ql/lib/semmle/go/dataflow/internal/DataFlowNodes.qll | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ql/lib/semmle/go/dataflow/internal/DataFlowNodes.qll b/ql/lib/semmle/go/dataflow/internal/DataFlowNodes.qll index 4cfefeb5b6b..c0fd11551a7 100644 --- a/ql/lib/semmle/go/dataflow/internal/DataFlowNodes.qll +++ b/ql/lib/semmle/go/dataflow/internal/DataFlowNodes.qll @@ -558,7 +558,7 @@ module Public { /** A representation of a parameter initialization. */ abstract class ParameterNode extends DataFlow::Node { - /** Holds if this node initializes the `i`th parameter of `fd`. */ + /** Holds if this node initializes the `i`th parameter of `c`. */ abstract predicate isParameterOf(Callable c, int i); }