package unreachable
import "golang.org/x/tools/go/analysis/passes/unreachable"
Package unreachable defines an Analyzer that checks for unreachable code.
Index ¶
Constants ¶
const Doc = "" /* 210 byte string literal not displayed */
Variables ¶
var Analyzer = &analysis.Analyzer{ Name: "unreachable", Doc: Doc, Requires: []*analysis.Analyzer{inspect.Analyzer}, RunDespiteErrors: true, Run: run, }
Source Files ¶
unreachable.go
- Version
- v0.3.0
- Published
- Nov 9, 2022
- Platform
- js/wasm
- Imports
- 6 packages
- Last checked
- 5 hours ago –
Tools for package owners.