Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions docs/codeql/ql-language-reference/annotations.rst
Original file line number Diff line number Diff line change
Expand Up @@ -637,9 +637,10 @@ Entity discard predicates must be:
Annotation inheritance
----------------------

Overlay annotations can be applied to modules and types, in which case they are
inherited by enclosed declarations. Declarations without explicit overlay annotations
inherit from their innermost enclosing declaration that has an overlay annotation.
Overlay annotations can be applied to modules and types. When applied to these
declarations, the annotation is inherited by all nested declarations within them.
Declarations without explicit overlay annotations inherit from their innermost
enclosing declaration that has an overlay annotation.

.. code-block:: ql

Expand Down