File: issue61813.txt

package info (click to toggle)
golang-golang-x-tools 1%3A0.25.0%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 22,724 kB
  • sloc: javascript: 2,027; asm: 1,645; sh: 166; yacc: 155; makefile: 49; ansic: 8
file content (14 lines) | stat: -rw-r--r-- 274 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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)