• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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