Skip to content

Commit

Permalink
QL: Merge pull request github#83 from github/tausbn/fix-missing-overr…
Browse files Browse the repository at this point in the history
…ide-fps

Fix "missing override" FPs
  • Loading branch information
tausbn authored Oct 13, 2021
2 parents 4b73c99 + cc43230 commit 823c24a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ql/src/codeql_ql/ast/Ast.qll
Original file line number Diff line number Diff line change
Expand Up @@ -665,7 +665,7 @@ class Class extends TClass, TypeDeclaration, ModuleDeclaration {
/**
* Gets a super-type referenced in the `extends` part of the class declaration.
*/
TypeExpr getASuperType() { toGenerated(result) in [cls.getExtends(_), cls.getInstanceof(_)] }
TypeExpr getASuperType() { toGenerated(result) = cls.getExtends(_) }

/** Gets the type that this class is defined to be an alias of. */
TypeExpr getAliasType() {
Expand Down

0 comments on commit 823c24a

Please sign in to comment.