This test exercises the panic reported in golang/go#61813. | |
-- p.go -- | |
package p | |
type P struct{} | |
func (P) M() {} //@rename("M", "N", MToN) | |
var x = []*P{{}} | |
-- @MToN/p.go -- | |
@@ -5 +5 @@ | |
-func (P) M() {} //@rename("M", "N", MToN) | |
+func (P) N() {} //@rename("M", "N", MToN) |