From fb004bacc39c3fa218c93f3179aad962a00e8595 Mon Sep 17 00:00:00 2001 From: Shati Patel <42641846+shati-patel@users.noreply.github.com> Date: Tue, 30 Mar 2021 17:31:20 +0100 Subject: [PATCH] Describe predicates first --- docs/codeql/ql-language-reference/annotations.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/codeql/ql-language-reference/annotations.rst b/docs/codeql/ql-language-reference/annotations.rst index 7223f15f18c..ec60e55bf9b 100644 --- a/docs/codeql/ql-language-reference/annotations.rst +++ b/docs/codeql/ql-language-reference/annotations.rst @@ -397,11 +397,11 @@ set of tuples). The ``bindingset`` annotation takes a comma-separated list of variables. -- When you annotate a class, each variable must be ``this`` or a field in the class. - Binding sets for classes are supported from release 2.3.0 of the CodeQL CLI, and release 1.26 of LGTM Enterprise. - When you annotate a predicate, each variable must be an argument of the predicate, possibly including ``this`` (for characteristic predicates and member predicates) and ``result`` (for predicates that return a result). For more information, see ":ref:`predicate-binding`." +- When you annotate a class, each variable must be ``this`` or a field in the class. + Binding sets for classes are supported from release 2.3.0 of the CodeQL CLI, and release 1.26 of LGTM Enterprise. .. Links to use in substitutions