aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--capturedrefrace.go2
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 {