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 3cc5ba1 commit 94e96cbCopy full SHA for 94e96cb
go/ql/lib/semmle/go/frameworks/GoMicro.qll
@@ -40,7 +40,7 @@ module GoMicro {
40
te.getDeclaration().getLocation().getFile() instanceof ProtocGeneratedFile and
41
exists(MethodDecl md |
42
md.getName() = "ProtoMessage" and
43
- this = md.getReceiverDecl().getTypeExpr().getAChild().(TypeName).getType()
+ this = md.getReceiverType().(PointerType).getBaseType()
44
)
45
46
}
0 commit comments