We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b2f310c commit 2291e10Copy full SHA for 2291e10
go/ql/lib/semmle/go/Types.qll
@@ -1042,7 +1042,7 @@ class DefinedType extends @definedtype, CompositeType {
1042
* Gets the type which this type is defined to be, if available.
1043
*
1044
* Note that this is only defined for types declared in the project being
1045
- * analyzed. It will not be defined for type declared in external packages.
+ * analyzed. It will not be defined for types declared in external packages.
1046
*/
1047
Type getBaseType() { result = this.getEntity().(DeclaredType).getSpec().getTypeExpr().getType() }
1048
0 commit comments