mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +01:00
Avoid using deprecated class
This commit is contained in:
@@ -1044,7 +1044,9 @@ class DefinedType extends @definedtype, CompositeType {
|
||||
* Note that this is only defined for types declared in the project being
|
||||
* analyzed. It will not be defined for types declared in external packages.
|
||||
*/
|
||||
Type getBaseType() { result = this.getEntity().(DeclaredType).getSpec().getTypeExpr().getType() }
|
||||
Type getBaseType() {
|
||||
result = this.getEntity().(DeclaredTypeEntity).getSpec().getTypeExpr().getType()
|
||||
}
|
||||
|
||||
override Method getMethod(string m) {
|
||||
result = CompositeType.super.getMethod(m)
|
||||
|
||||
Reference in New Issue
Block a user