diff options
author | Teddy Wing | 2023-05-18 04:02:46 +0200 |
---|---|---|
committer | Teddy Wing | 2023-05-18 04:02:46 +0200 |
commit | c627e49861514a1743c5df0ae9a4026a40b2ce95 (patch) | |
tree | 964d3cf66ea7b0434cc8ac5ad8be4b4fde6032be | |
parent | 4c92bfe81e049f38ee00f575f190d0b0e0b21305 (diff) | |
download | gocapturedrefrace-c627e49861514a1743c5df0ae9a4026a40b2ce95.tar.bz2 |
Remove shadowing variable TODO
This is now handled.
-rw-r--r-- | gocapturedrefrace.go | 2 |
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( |