mirror of
https://github.com/github/codeql.git
synced 2026-02-08 11:11:06 +01:00
Fix "missing override" FPs
This brings the analysis back to the level it was at before the addition of `instanceof`.
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user