Skip to content

Commit b21672c

Browse files
alexetshati-patelMarcono1234
committed
Apply suggestions from code review
Co-authored-by: Shati Patel <[email protected]> Co-authored-by: Marcono1234 <[email protected]>
1 parent 2576c86 commit b21672c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1168,9 +1168,9 @@ A valid call with results *resolves* to a set of predicates. The ways a call can
11681168
- If the call has no receiver and the predicate name is a selection identifier, then the qualifier is resolved as a module (see "`Module resolution <#module-resolution>`__"). The identifier is then resolved in the exported predicate environment of the qualifier module.
11691169

11701170
- If the call has a super expression as the receiver, then it resolves to a member predicate in a class that the enclosing class inherits from:
1171-
- If the super expression is unqualified and there is a single class that the current class inherits from then the super-class is that class.
1172-
- If the super expression is unqualified and there is are multiple classes that the current class inherits from then the super-class is the domain type.
1173-
- Otherwise the super-class is the class named by the qualifier of the super expression.
1171+
- If the super expression is unqualified and there is a single class that the current class inherits from, then the super-class is that class.
1172+
- If the super expression is unqualified and there are multiple classes that the current class inherits from, then the super-class is the domain type.
1173+
- Otherwise, the super-class is the class named by the qualifier of the super expression.
11741174

11751175
The predicate is resolved by looking up its name and arity in the exported predicate environment of the super-class.
11761176

0 commit comments

Comments
 (0)