From c627e49861514a1743c5df0ae9a4026a40b2ce95 Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Thu, 18 May 2023 04:02:46 +0200 Subject: Remove shadowing variable TODO This is now handled. --- gocapturedrefrace.go | 2 -- 1 file changed, 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( -- cgit v1.2.3