We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9909135 commit 0a065c9Copy full SHA for 0a065c9
1 file changed
go/ql/lib/semmle/go/dataflow/internal/DataFlowNodes.qll
@@ -923,9 +923,9 @@ module Public {
923
/**
924
* A node whose value is returned as a result from a function.
925
*
926
- * This can either be a node corresponding to an expression in a return statement,
927
- * or a node representing the current value of a named result variable at the exit
928
- * of the function.
+ * If the function declares named result variables, this is a node representing
+ * the current value of one of those variables at function exit. Otherwise, this
+ * is a node corresponding to an expression in a return statement.
929
*/
930
class ResultNode extends InstructionNode {
931
int i;
0 commit comments