title: InvalidRecv layout: article

InvalidRecv occurs when a receiver type expression is not of the form T
or *T, or T is a pointer type.

Example:
 type T struct {}

 func (**T) m() {}