• Home
Name Date Size #Lines LOC

..--

BUILD.bazelD04-Jul-2025155 75

README.rstD04-Jul-2025656 1913

generics_test.goD04-Jul-20251.8 KiB8658

README.rst

1nogo analyzers run against code using generics
2==============================================
3
4.. _nogo: /go/nogo.rst
5.. _buildssa: https://pkg.go.dev/golang.org/x/tools/go/analysis/passes/buildssa
6.. _nilness: https://pkg.go.dev/golang.org/x/tools/go/analysis/passes/nilness
7
8Tests to ensure that `nogo`_ analyzers that run on code using generics get correct
9type instantiation information.
10
11.. contents::
12
13generics_test
14-------------
15
16Verifies that code using generic types gets loaded including all type instantiation
17information, so that analyzers based on the `buildssa`_ analyzer (such as `nilness`_) get
18a complete picture of all types in the code.
19