🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.bugs.dist
Article #2683

Bug#1152603: ITP: exhaustive -- Check that expression switches and type switches in Go source code are exhaustive.

#2683
From: Jani Heikkinen
Date: Fri, 30 Oct 2026 13:20
20 lines
2418 bytes
Package: wnpp
Severity: wishlist
Owner: Jani Heikkinen <jani.p.heikkinen@protonmail.ch>

* Package name    : exhaustive
  Version         : 0.16.1-1
  Upstream Author : Nishanth Shanmugham
* URL             : https://github.com/nishanths/exhaustive
* License         : BSD-2-Clause and BSD-3-Clause
  Programming Lang: Go
  Description     : Check that expression switches and type switches in Go source code are exhaustive.

 Package exhaustive checks that expression switches and type switches in Go source code are exhaustive.
 .
 The exhaustive static analysis checks that switch statements in Go
 source code are exhaustive. The analysis can check expression switches,
 if the switch expression type is an enumerated type, and type switches.

This package is a dependency of opentofu (ITP #808940).
I will maintain it in the Debian Go Packaging Team.
Technical Details
Message-ID: <NTUGt-8OMx-1@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
From: "Jani Heikkinen" <jheikki@jhbox.ch>
Newsgroups: linux.debian.bugs.dist,linux.debian.devel
Subject: Bug#1152603: ITP: exhaustive -- Check that expression switches and type switches in Go source code are exhaustive.
Date: Fri, 30 Oct 2026 14:20:01 +0100
Message-ID: <NTUGt-8OMx-1@gated-at.bofh.it>
X-Original-To: submit@bugs.debian.org
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Fri Oct 30 13:15:11 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: 1.05
Reply-To: "Jani Heikkinen" <jheikki@jhbox.ch>, 1152603@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: debian-devel@lists.debian.org, debian-go@lists.debian.org, wnpp@debian.org
X-Debian-Pr-Message: report 1152603
X-Debian-Pr-Package: wnpp
X-Pm-Submission-ID: 4jGM2S0JfVz2Scml
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/1999774
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 20
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Fri, 30 Oct 2026 14:12:14 +0100 (CET)
X-Original-Message-ID: <20261030131214.ED738406CA@hnj1-laptop.bfh.ch>