Skip to content

Commit 621eca8

Browse files
ginsbachkaspersv
andauthored
Update docs/codeql/ql-language-reference/types.rst
Co-authored-by: Kasper Svendsen <[email protected]>
1 parent 2a8b216 commit 621eca8

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

docs/codeql/ql-language-reference/types.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,8 +136,9 @@ The body of a class can contain:
136136

137137
When you define a class, that class also inherits all non-:ref:`private` member predicates and
138138
fields from its supertypes.
139-
You can :ref:`override <overriding-member-predicates>` or :ref:`shadow <final-extensions>` those
140-
predicates and fields (depending on whether they are final) to give them a more specific definition.
139+
140+
Depending on whether they are final, you can :ref:`override <overriding-member-predicates>` or
141+
:ref:`shadow <final-extensions>` those predicates and fields to give them a more specific definition.
141142

142143
.. _characteristic-predicates:
143144

0 commit comments

Comments
 (0)