mirror of
https://github.com/github/codeql.git
synced 2026-04-25 00:35:20 +02:00
Merge pull request #19882 from owen-mc/go/avoid-deprecated-class
Go: 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