aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--gocapturedrefrace.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/gocapturedrefrace.go b/gocapturedrefrace.go
index 454156f..11f2ac1 100644
--- a/gocapturedrefrace.go
+++ b/gocapturedrefrace.go
@@ -57,6 +57,8 @@ func checkClosure(pass *analysis.Pass, funcLit *ast.FuncLit) {
}
fmt.Printf("%#v\n", formalParams)
+ // TODO: Build a list of variables created in the closure
+
ast.Inspect(
funcLit,
func(node ast.Node) bool {