aboutsummaryrefslogtreecommitdiff
path: root/gopls/internal/lsp/testdata/workspacesymbol/issue44806.go
blob: 6a6e03a5f97690773c051f83dc55fe1dec1ae681 (plain)
1
2
3
4
5
6
7
8
9
10
package main

type T struct{}

// We should accept all valid receiver syntax when scanning symbols.
func (*(T)) m1() {}
func (*T) m2()   {}
func (T) m3()    {}
func ((T)) m4()    {}
func ((*T)) m5()   {}