mirror of
https://github.com/github/codeql.git
synced 2026-05-14 11:19:27 +02:00
Clarify overlay annotation inheritance for nested declarations
Co-authored-by: ginsbach <12936686+ginsbach@users.noreply.github.com>
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user