skipCfg
1 parent 1163e1f commit cbde971Copy full SHA for cbde971
1 file changed
go/ql/lib/semmle/go/controlflow/ControlFlowGraphImpl.qll
@@ -62,7 +62,9 @@ module CfgImpl {
62
or
63
e = any(Go::StructLit sl).getKey(_)
64
65
- e instanceof Go::Ident and not e instanceof Go::ReferenceExpr
+ e instanceof Go::Ident and
66
+ not e instanceof Go::ReferenceExpr and
67
+ not e = any(Go::Parameter p).getDeclaration()
68
69
e instanceof Go::SelectorExpr and not e instanceof Go::ReferenceExpr
70
0 commit comments