Merge pull request #83 from github/tausbn/fix-missing-override-fps

Fix "missing override" FPs
This commit is contained in:
Taus
2021-10-13 16:36:18 +02:00
committed by GitHub

View File

@@ -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() {