github.com/powerman/golang-tools@v0.1.11-0.20220410185822-5ad214d8d803/internal/lsp/testdata/godef/infer_generics/inferred.go.golden (about)

     1  -- argInfer-hoverdef --
     2  ```go
     3  func app(s []int, e int) []int // func[S interface{~[]E}, E interface{}](s S, e E) S
     4  ```
     5  -- constrInf-hoverdef --
     6  ```go
     7  func app(s []int, e int) []int // func[S₁ interface{~[]E₂}, E₂ interface{}](s S₁, e E₂) S₁
     8  ```
     9  -- constrInfer-hoverdef --
    10  ```go
    11  func app(s []int, e int) []int // func[S interface{~[]E}, E interface{}](s S, e E) S
    12  ```
    13  -- instance-hoverdef --
    14  ```go
    15  func app(s []int, e int) []int // func[S interface{~[]E}, E interface{}](s S, e E) S
    16  ```
    17  -- partialInfer-hoverdef --
    18  ```go
    19  func app(s []int, e int) []int // func[S interface{~[]E}, E interface{}](s S, e E) S
    20  ```