Skip to content

Commit 6b90142

Browse files
authored
QL: Merge pull request #61 from github/aschackmull/extends-formula
Add missing extends Formula
2 parents 0060fcb + 01ef4d7 commit 6b90142

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

ql/src/codeql_ql/ast/Ast.qll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -771,7 +771,7 @@ class NewTypeBranch extends TNewTypeBranch, TypeDeclaration {
771771
* or a member call `foo.bar()`,
772772
* or a special call to `none()` or `any()`.
773773
*/
774-
class Call extends TCall, Expr {
774+
class Call extends TCall, Expr, Formula {
775775
/** Gets the `i`th argument of this call. */
776776
Expr getArgument(int i) {
777777
none() // overriden in sublcasses.
@@ -1014,7 +1014,7 @@ class Conjunction extends TConjunction, AstNode, Formula {
10141014
}
10151015

10161016
/** An `or` formula, with 2 or more operands. */
1017-
class Disjunction extends TDisjunction, AstNode {
1017+
class Disjunction extends TDisjunction, AstNode, Formula {
10181018
Generated::Disjunction disj;
10191019

10201020
Disjunction() { this = TDisjunction(disj) }

0 commit comments

Comments
 (0)