title: DuplicateMethod layout: article

DuplicateMethod occurs when two methods on the same receiver type have
the same name.

Example:
 type T struct {}
 func (T) m() {}
 func (T) m(i int) int { return i }