diff options
Diffstat (limited to 'gocapturedrefrace.go')
-rw-r--r-- | gocapturedrefrace.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gocapturedrefrace.go b/gocapturedrefrace.go index 3ac8022..f3e2e81 100644 --- a/gocapturedrefrace.go +++ b/gocapturedrefrace.go @@ -60,6 +60,7 @@ func checkClosure(pass *analysis.Pass, funcLit *ast.FuncLit) { // TODO: Build a list of variables created in the closure assignments := assignmentsInFunc(pass, funcLit) fmt.Printf("%#v\n", assignments) + // TODO: Use ast.GenDecl instead ast.Inspect( funcLit, |