From fd1136a7773180c395fc4c76e0b745968d88db04 Mon Sep 17 00:00:00 2001 From: Owen Mansel-Chan Date: Tue, 18 Jan 2022 16:34:42 +0000 Subject: [PATCH 1/2] Add change note for change to `Function.getACall` --- ql/lib/change-notes/2022-01-18-function-get-a-call.md | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 ql/lib/change-notes/2022-01-18-function-get-a-call.md diff --git a/ql/lib/change-notes/2022-01-18-function-get-a-call.md b/ql/lib/change-notes/2022-01-18-function-get-a-call.md new file mode 100644 index 00000000000..9c4fe9e8a43 --- /dev/null +++ b/ql/lib/change-notes/2022-01-18-function-get-a-call.md @@ -0,0 +1,4 @@ +--- +category: fix +--- +* `Function`'s predicate `getACall` now returns more results in some situations. For a function implementing an interface method, calls to that interface method are now returned for all functions. Previously this only happened if the function was in the source code being analysed. From 84116e16816464bd37e5d68fa5132cc7e2cb32c4 Mon Sep 17 00:00:00 2001 From: Owen Mansel-Chan <62447351+owen-mc@users.noreply.github.com> Date: Tue, 18 Jan 2022 16:51:07 +0000 Subject: [PATCH 2/2] Update ql/lib/change-notes/2022-01-18-function-get-a-call.md Co-authored-by: Chris Smowton --- ql/lib/change-notes/2022-01-18-function-get-a-call.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ql/lib/change-notes/2022-01-18-function-get-a-call.md b/ql/lib/change-notes/2022-01-18-function-get-a-call.md index 9c4fe9e8a43..9cdef535e33 100644 --- a/ql/lib/change-notes/2022-01-18-function-get-a-call.md +++ b/ql/lib/change-notes/2022-01-18-function-get-a-call.md @@ -1,4 +1,4 @@ --- category: fix --- -* `Function`'s predicate `getACall` now returns more results in some situations. For a function implementing an interface method, calls to that interface method are now returned for all functions. Previously this only happened if the function was in the source code being analysed. +* `Function`'s predicate `getACall` now returns more results in some situations. It now always returns callers that may call a method indirectly via an interface method that it implements. Previously this only happened if the method was in the source code being analysed.