github.com/jhump/golang-x-tools@v0.0.0-20220218190644-4958d6d39439/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  ```