Skip to content

Commit 823c24a

Browse files
authored
QL: Merge pull request github#83 from github/tausbn/fix-missing-override-fps
Fix "missing override" FPs
2 parents 4b73c99 + cc43230 commit 823c24a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ql/src/codeql_ql/ast/Ast.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -665,7 +665,7 @@ class Class extends TClass, TypeDeclaration, ModuleDeclaration {
665665
/**
666666
* Gets a super-type referenced in the `extends` part of the class declaration.
667667
*/
668-
TypeExpr getASuperType() { toGenerated(result) in [cls.getExtends(_), cls.getInstanceof(_)] }
668+
TypeExpr getASuperType() { toGenerated(result) = cls.getExtends(_) }
669669

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

0 commit comments

Comments
 (0)