aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTeddy Wing2023-05-16 03:57:57 +0200
committerTeddy Wing2023-05-16 03:57:57 +0200
commit555bdd6e949ede8135ddb9421e7d00aac8337396 (patch)
treed97b22e97eea0c3a0868887953a37e63f86602aa
parente4e20e7a4f51e0f0d7ce81285cece8b11c81c542 (diff)
downloadgocapturedrefrace-555bdd6e949ede8135ddb9421e7d00aac8337396.tar.bz2
Add a note for the current goal
-rw-r--r--gocapturedrefrace.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/gocapturedrefrace.go b/gocapturedrefrace.go
index f57ad74..79c6d87 100644
--- a/gocapturedrefrace.go
+++ b/gocapturedrefrace.go
@@ -91,6 +91,9 @@ func checkClosure(
// TODO: Use ast.GenDecl instead
// ast.Scope?
+ // TODO: Need to find variables not declared in the closure, and
+ // reference arguments
+
ast.Inspect(
funcLit,
func(node ast.Node) bool {