diff options
| -rw-r--r-- | gocapturedrefrace.go | 2 | 
1 files changed, 2 insertions, 0 deletions
| diff --git a/gocapturedrefrace.go b/gocapturedrefrace.go index a28c47b..1a60cf5 100644 --- a/gocapturedrefrace.go +++ b/gocapturedrefrace.go @@ -58,6 +58,8 @@ func run(pass *analysis.Pass) (interface{}, error) {  	return nil, nil  } +// checkClosure reports variables used in funcLit that are captured from an +// outer scope.  func checkClosure(  	pass *analysis.Pass,  	funcLit *ast.FuncLit, | 
