From 7539055f9d8a88899d73a8434f727a5902671a25 Mon Sep 17 00:00:00 2001 From: Navneeth Jayendran Date: Sat, 30 Dec 2023 15:21:02 -0500 Subject: [PATCH] Remove incorrect comment --- switch.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/switch.go b/switch.go index 96c69df..ca2eb60 100644 --- a/switch.go +++ b/switch.go @@ -106,7 +106,7 @@ func switchChecker(pass *analysis.Pass, cfg switchConfig, generated boolCache, c } if sw.Tag == nil { - return true, resultNoSwitchTag // never possible for valid Go program? + return true, resultNoSwitchTag } t := pass.TypesInfo.Types[sw.Tag]