From e22f9fadd7852d67d45e16764ea23e6aacfbd2ca Mon Sep 17 00:00:00 2001 From: Owen Mansel-Chan <62447351+owen-mc@users.noreply.github.com> Date: Tue, 9 Jun 2026 05:26:56 +0100 Subject: [PATCH] Fix mistakes in change notes Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> --- go/ql/lib/change-notes/2026-06-08-fix-result-nodes.md | 2 +- go/ql/lib/change-notes/2026-06-08-functypeexpr-getnumresult.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/go/ql/lib/change-notes/2026-06-08-fix-result-nodes.md b/go/ql/lib/change-notes/2026-06-08-fix-result-nodes.md index bc7aed56261..a567dd4edda 100644 --- a/go/ql/lib/change-notes/2026-06-08-fix-result-nodes.md +++ b/go/ql/lib/change-notes/2026-06-08-fix-result-nodes.md @@ -1,4 +1,4 @@ --- category: minorAnalysis --- -* `DataFlow::ResultNode`s are no longer created for returned expressions in functions with named result parameters. In this case there are already result nodes corresponding to `IR::ResultReadInstruction`s at the end of the function body. +* `DataFlow::ResultNode`s are no longer created for returned expressions in functions with named result parameters. In this case there are already result nodes corresponding to `IR::ReadResultInstruction`s at the end of the function body. diff --git a/go/ql/lib/change-notes/2026-06-08-functypeexpr-getnumresult.md b/go/ql/lib/change-notes/2026-06-08-functypeexpr-getnumresult.md index 974f604a041..70564beef11 100644 --- a/go/ql/lib/change-notes/2026-06-08-functypeexpr-getnumresult.md +++ b/go/ql/lib/change-notes/2026-06-08-functypeexpr-getnumresult.md @@ -1,4 +1,4 @@ --- category: minorAnalysis --- -* `FuncTypeExpr.getNumResults()` now gets the number of result parameters. It previously got the number of result declarations, which is different when one result declaration declares more than one variable, as in `x, y int`. All uses of it expected the number of result parameters. Its QLDoc has been updated. +* `FuncTypeExpr.getNumResult()` now gets the number of result parameters. It previously got the number of result declarations, which is different when one result declaration declares more than one variable, as in `x, y int`. All uses of it expected the number of result parameters. Its QLDoc has been updated.