diff options
author | Teddy Wing | 2023-05-20 17:32:59 +0200 |
---|---|---|
committer | Teddy Wing | 2023-05-20 17:32:59 +0200 |
commit | d0d16dd47debff2997efc1028cec6532dcf30637 (patch) | |
tree | 456e0a85fd108b63b0067278ee2869b49c1aae7b | |
parent | d2b49900afa77c50ea44f750aa568e61ba663af1 (diff) | |
download | gocapturedrefrace-d0d16dd47debff2997efc1028cec6532dcf30637.tar.bz2 |
Clarify why we skip non-local functionsv0.0.1
-rw-r--r-- | capturedrefrace.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/capturedrefrace.go b/capturedrefrace.go index fbb3ebe..c0bc646 100644 --- a/capturedrefrace.go +++ b/capturedrefrace.go @@ -95,6 +95,8 @@ func run(pass *analysis.Pass) (interface{}, error) { funcLit, ok = funcLitFromIdent(goStmtFunc) default: + // The function being run by the `go` statement is an + // unsupported type. return } if !ok { |