aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--gocapturedrefrace.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/gocapturedrefrace.go b/gocapturedrefrace.go
index c9b5642..6e5a9d0 100644
--- a/gocapturedrefrace.go
+++ b/gocapturedrefrace.go
@@ -127,8 +127,6 @@ func checkClosure(pass *analysis.Pass, funcLit *ast.FuncLit) {
return true
}
- // TODO: Ignore shadowing variables.
-
// Identifier was defined in a different scope.
if funcScope != scope {
pass.Reportf(