aboutsummaryrefslogtreecommitdiff
path: root/internal/lsp/testdata/godef/infer_generics/inferred.go.golden
blob: 4a36ff460b61ca8c5752616e2c8590bf6bdf76eb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
-- argInfer-hoverdef --
```go
func app(s []int, e int) []int // func[S interface{~[]E}, E interface{}](s S, e E) S
```
-- constrInf-hoverdef --
```go
func app(s []int, e int) []int // func[S₁ interface{~[]E₂}, E₂ interface{}](s S₁, e E₂) S₁
```
-- constrInfer-hoverdef --
```go
func app(s []int, e int) []int // func[S interface{~[]E}, E interface{}](s S, e E) S
```
-- instance-hoverdef --
```go
func app(s []int, e int) []int // func[S interface{~[]E}, E interface{}](s S, e E) S
```
-- partialInfer-hoverdef --
```go
func app(s []int, e int) []int // func[S interface{~[]E}, E interface{}](s S, e E) S
```