Skip to content

Commit

Permalink
Fix "missing override" FPs
Browse files Browse the repository at this point in the history
This brings the analysis back to the level it was at before the addition
of `instanceof`.
  • Loading branch information
tausbn authored Oct 13, 2021
1 parent dd4f6ed commit bd01d92
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 bd01d92

Please sign in to comment.