From aa8bc972d962df4ae7832bf547437f08eca09ed1 Mon Sep 17 00:00:00 2001 From: Max Schaefer Date: Fri, 6 Mar 2020 15:03:45 +0000 Subject: [PATCH] Address review comments. --- ql/src/semmle/go/dataflow/FunctionInputsAndOutputs.qll | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ql/src/semmle/go/dataflow/FunctionInputsAndOutputs.qll b/ql/src/semmle/go/dataflow/FunctionInputsAndOutputs.qll index 9282532a2f7..4699ee20be0 100644 --- a/ql/src/semmle/go/dataflow/FunctionInputsAndOutputs.qll +++ b/ql/src/semmle/go/dataflow/FunctionInputsAndOutputs.qll @@ -226,8 +226,8 @@ private class OutParameter extends FunctionOutput, TOutParameter { } override string toString() { - index = -1 and result = "result" + index = -1 and result = "receiver" or - index >= 0 and result = "result " + index + index >= 0 and result = "parameter " + index } -} \ No newline at end of file +}