aboutsummaryrefslogtreecommitdiffstats
path: root/gocapturedrefrace.go
diff options
context:
space:
mode:
Diffstat (limited to 'gocapturedrefrace.go')
-rw-r--r--gocapturedrefrace.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/gocapturedrefrace.go b/gocapturedrefrace.go
index dfa32aa..dacae11 100644
--- a/gocapturedrefrace.go
+++ b/gocapturedrefrace.go
@@ -72,6 +72,7 @@ func checkClosure(pass *analysis.Pass, funcLit *ast.FuncLit) {
}
fmt.Printf("formalParams: %#v\n", formalParams)
// TODO: Ensure argument types are not references
+ // TODO: goStmt.Call.Args should also give us something like this.
// TODO: Build a list of variables created in the closure
assignments := assignmentsInFunc(pass, funcLit)