=========================================================== .___ __ __ _________________ __ __ __| _/|__|/ |_ / ___\_` __ \__ \ | | \/ __ | | \\_ __\ / /_/ > | \// __ \| | / /_/ | | || | \___ /|__| (____ /____/\____ | |__||__| /_____/ \/ \/ grep rough audit - static analysis tool v2.8 written by @Wireghoul =================================[justanotherhacker.com]=== golang-golang-x-tools-0.0~git20201121.780cb80+ds/README.md-17-The easiest way to install is to run `go get -u golang.org/x/tools/...`. You can golang-golang-x-tools-0.0~git20201121.780cb80+ds/README.md:18:also manually git clone the repository to `$GOPATH/src/golang.org/x/tools`. golang-golang-x-tools-0.0~git20201121.780cb80+ds/README.md-19- ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/cmd/getgo/README.md-25- golang-golang-x-tools-0.0~git20201121.780cb80+ds/cmd/getgo/README.md:26:`curl -LO https://get.golang.org/$(uname)/go_installer && chmod +x go_installer && ./go_installer && rm go_installer` golang-golang-x-tools-0.0~git20201121.780cb80+ds/cmd/getgo/README.md-27- ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/cmd/getgo/README.md-43-The Dockerfile automatically builds the binary, moves it to golang-golang-x-tools-0.0~git20201121.780cb80+ds/cmd/getgo/README.md:44:`/usr/local/bin/getgo` and then unsets `$GOPATH` and removes all `$GOPATH` from golang-golang-x-tools-0.0~git20201121.780cb80+ds/cmd/getgo/README.md:45:`$PATH`. golang-golang-x-tools-0.0~git20201121.780cb80+ds/cmd/getgo/README.md-46- ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/cmd/godoc/godoc_test.go-75- defer ln.Close() golang-golang-x-tools-0.0~git20201121.780cb80+ds/cmd/godoc/godoc_test.go:76: return ln.Addr().String() golang-golang-x-tools-0.0~git20201121.780cb80+ds/cmd/godoc/godoc_test.go-77-} ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/cmd/goyacc/yacc.go-2033- if j >= len(statemem) { golang-golang-x-tools-0.0~git20201121.780cb80+ds/cmd/goyacc/yacc.go:2034: asm := make([]Item, j+STATEINC) golang-golang-x-tools-0.0~git20201121.780cb80+ds/cmd/goyacc/yacc.go-2035- copy(asm, statemem) ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/cmd/present/main.go-65- golang-golang-x-tools-0.0~git20201121.780cb80+ds/cmd/present/main.go:66: _, port, err := net.SplitHostPort(ln.Addr().String()) golang-golang-x-tools-0.0~git20201121.780cb80+ds/cmd/present/main.go-67- if err != nil { ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/cmd/present/main.go-78- origin.Host = net.JoinHostPort(*originHost, port) golang-golang-x-tools-0.0~git20201121.780cb80+ds/cmd/present/main.go:79: } else if ln.Addr().(*net.TCPAddr).IP.IsUnspecified() { golang-golang-x-tools-0.0~git20201121.780cb80+ds/cmd/present/main.go-80- name, _ := os.Hostname() ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/cmd/present/main.go-96- golang-golang-x-tools-0.0~git20201121.780cb80+ds/cmd/present/main.go:97: if !ln.Addr().(*net.TCPAddr).IP.IsLoopback() && golang-golang-x-tools-0.0~git20201121.780cb80+ds/cmd/present/main.go-98- present.PlayEnabled && !*nativeClient && !*usePlayground { ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/cmd/toolstash/buildall-33-cd $(go env GOROOT)/src golang-golang-x-tools-0.0~git20201121.780cb80+ds/cmd/toolstash/buildall:34:go install cmd/compile cmd/link cmd/asm || exit 1 golang-golang-x-tools-0.0~git20201121.780cb80+ds/cmd/toolstash/buildall-35-pattern="$1" ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/cmd/toolstash/cmp.go-38- regexp.MustCompile(`\\(z|x00)`), golang-golang-x-tools-0.0~git20201121.780cb80+ds/cmd/toolstash/cmp.go:39: regexp.MustCompile(`\$\([0-9]\.[0-9]+e[+\-][0-9]+\)`), golang-golang-x-tools-0.0~git20201121.780cb80+ds/cmd/toolstash/cmp.go-40- regexp.MustCompile(`size=.*value=.*args=.*locals=`), ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/analysis/passes/asmdecl/asmdecl.go-91- asmArchS390X = asmArch{name: "s390x", bigEndian: true, stack: "R15", lr: true} golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/analysis/passes/asmdecl/asmdecl.go:92: asmArchWasm = asmArch{name: "wasm", bigEndian: false, stack: "SP", lr: false} golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/analysis/passes/asmdecl/asmdecl.go-93- ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/analysis/passes/asmdecl/asmdecl.go-132- asmPlusBuild = re(`//\s+\+build\s+([^\n]+)`) golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/analysis/passes/asmdecl/asmdecl.go:133: asmTEXT = re(`\bTEXT\b(.*)·([^\(]+)\(SB\)(?:\s*,\s*([0-9A-Z|+()]+))?(?:\s*,\s*\$(-?[0-9]+)(?:-([0-9]+))?)?`) golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/analysis/passes/asmdecl/asmdecl.go-134- asmDATA = re(`\b(DATA|GLOBL)\b`) golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/analysis/passes/asmdecl/asmdecl.go:135: asmNamedFP = re(`\$?([a-zA-Z0-9_\xFF-\x{10FFFF}]+)(?:\+([0-9]+))\(FP\)`) golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/analysis/passes/asmdecl/asmdecl.go-136- asmUnnamedFP = re(`[^+\-0-9](([0-9]+)\(FP\))`) ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/analysis/passes/asmdecl/testdata/src/a/asm1.s-61- golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/analysis/passes/asmdecl/testdata/src/a/asm1.s:62:TEXT ·arg4(SB),0,$0-2 // want `arg4: wrong argument size 2; expected \$\.\.\.-8` golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/analysis/passes/asmdecl/testdata/src/a/asm1.s-63- MOVB x+0(FP), AX // want `invalid MOVB of x\+0\(FP\); int32 is 4-byte value` ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/analysis/passes/asmdecl/testdata/src/a/asm1.s-84- golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/analysis/passes/asmdecl/testdata/src/a/asm1.s:85:TEXT ·arg8(SB),7,$0-2 // want `wrong argument size 2; expected \$\.\.\.-16` golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/analysis/passes/asmdecl/testdata/src/a/asm1.s-86- MOVB x+0(FP), AX // want `invalid MOVB of x\+0\(FP\); int64 is 8-byte value` ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/analysis/passes/asmdecl/testdata/src/a/asm1.s-107- golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/analysis/passes/asmdecl/testdata/src/a/asm1.s:108:TEXT ·argint(SB),0,$0-2 // want `wrong argument size 2; expected \$\.\.\.-16` golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/analysis/passes/asmdecl/testdata/src/a/asm1.s-109- MOVB x+0(FP), AX // want `invalid MOVB of x\+0\(FP\); int is 8-byte value` ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/analysis/passes/asmdecl/testdata/src/a/asm1.s-130- golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/analysis/passes/asmdecl/testdata/src/a/asm1.s:131:TEXT ·argptr(SB),7,$0-2 // want `wrong argument size 2; expected \$\.\.\.-40` golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/analysis/passes/asmdecl/testdata/src/a/asm1.s-132- MOVB x+0(FP), AX // want `invalid MOVB of x\+0\(FP\); \*byte is 8-byte value` ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/analysis/passes/asmdecl/testdata/src/a/asm1.s-156- golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/analysis/passes/asmdecl/testdata/src/a/asm1.s:157:TEXT ·argstring(SB),0,$32 // want `wrong argument size 0; expected \$\.\.\.-32` golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/analysis/passes/asmdecl/testdata/src/a/asm1.s-158- MOVW x+0(FP), AX // want `invalid MOVW of x\+0\(FP\); string base is 8-byte value` ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/analysis/passes/asmdecl/testdata/src/a/asm1.s-174- golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/analysis/passes/asmdecl/testdata/src/a/asm1.s:175:TEXT ·argslice(SB),0,$48 // want `wrong argument size 0; expected \$\.\.\.-48` golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/analysis/passes/asmdecl/testdata/src/a/asm1.s-176- MOVW x+0(FP), AX // want `invalid MOVW of x\+0\(FP\); slice base is 8-byte value` ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/analysis/passes/asmdecl/testdata/src/a/asm1.s-228- golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/analysis/passes/asmdecl/testdata/src/a/asm1.s:229:TEXT ·argcomplex(SB),0,$24 // want `wrong argument size 0; expected \$\.\.\.-24` golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/analysis/passes/asmdecl/testdata/src/a/asm1.s-230- MOVSS x+0(FP), X0 // want `invalid MOVSS of x\+0\(FP\); complex64 is 8-byte value containing x_real\+0\(FP\) and x_imag\+4\(FP\)` ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/analysis/passes/asmdecl/testdata/src/a/asm1.s-252- golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/analysis/passes/asmdecl/testdata/src/a/asm1.s:253:TEXT ·argstruct(SB),0,$64 // want `wrong argument size 0; expected \$\.\.\.-24` golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/analysis/passes/asmdecl/testdata/src/a/asm1.s-254- MOVQ x+0(FP), AX // want `invalid MOVQ of x\+0\(FP\); a.S is 24-byte value` ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/analysis/passes/asmdecl/testdata/src/a/asm1.s-262- golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/analysis/passes/asmdecl/testdata/src/a/asm1.s:263:TEXT ·argarray(SB),0,$64 // want `wrong argument size 0; expected \$\.\.\.-48` golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/analysis/passes/asmdecl/testdata/src/a/asm1.s-264- MOVQ x+0(FP), AX // want `invalid MOVQ of x\+0\(FP\); \[2\]a.S is 48-byte value` ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/analysis/passes/asmdecl/testdata/src/a/asm2.s-55- golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/analysis/passes/asmdecl/testdata/src/a/asm2.s:56:TEXT ·arg4(SB),0,$0-2 // want `arg4: wrong argument size 2; expected \$\.\.\.-8` golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/analysis/passes/asmdecl/testdata/src/a/asm2.s-57- MOVB x+0(FP), AX // want `invalid MOVB of x\+0\(FP\); int32 is 4-byte value` ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/analysis/passes/asmdecl/testdata/src/a/asm2.s-78- golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/analysis/passes/asmdecl/testdata/src/a/asm2.s:79:TEXT ·arg8(SB),7,$0-2 // want `wrong argument size 2; expected \$\.\.\.-16` golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/analysis/passes/asmdecl/testdata/src/a/asm2.s-80- MOVB x+0(FP), AX // want `invalid MOVB of x\+0\(FP\); int64 is 8-byte value` ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/analysis/passes/asmdecl/testdata/src/a/asm2.s-105- golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/analysis/passes/asmdecl/testdata/src/a/asm2.s:106:TEXT ·argint(SB),0,$0-2 // want `wrong argument size 2; expected \$\.\.\.-8` golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/analysis/passes/asmdecl/testdata/src/a/asm2.s-107- MOVB x+0(FP), AX // want `invalid MOVB of x\+0\(FP\); int is 4-byte value` ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/analysis/passes/asmdecl/testdata/src/a/asm2.s-128- golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/analysis/passes/asmdecl/testdata/src/a/asm2.s:129:TEXT ·argptr(SB),7,$0-2 // want `wrong argument size 2; expected \$\.\.\.-20` golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/analysis/passes/asmdecl/testdata/src/a/asm2.s-130- MOVB x+0(FP), AX // want `invalid MOVB of x\+0\(FP\); \*byte is 4-byte value` ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/analysis/passes/asmdecl/testdata/src/a/asm2.s-154- golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/analysis/passes/asmdecl/testdata/src/a/asm2.s:155:TEXT ·argstring(SB),0,$16 // want `wrong argument size 0; expected \$\.\.\.-16` golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/analysis/passes/asmdecl/testdata/src/a/asm2.s-156- MOVW x+0(FP), AX // want `invalid MOVW of x\+0\(FP\); string base is 4-byte value` ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/analysis/passes/asmdecl/testdata/src/a/asm2.s-171- golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/analysis/passes/asmdecl/testdata/src/a/asm2.s:172:TEXT ·argslice(SB),0,$24 // want `wrong argument size 0; expected \$\.\.\.-24` golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/analysis/passes/asmdecl/testdata/src/a/asm2.s-173- MOVW x+0(FP), AX // want `invalid MOVW of x\+0\(FP\); slice base is 4-byte value` ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/analysis/passes/asmdecl/testdata/src/a/asm3.s-31- golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/analysis/passes/asmdecl/testdata/src/a/asm3.s:32:TEXT ·arg4(SB),0,$0-2 // want `arg4: wrong argument size 2; expected \$\.\.\.-8` golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/analysis/passes/asmdecl/testdata/src/a/asm3.s-33- MOVB x+0(FP), AX // want `invalid MOVB of x\+0\(FP\); int32 is 4-byte value` ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/analysis/passes/asmdecl/testdata/src/a/asm3.s-42- golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/analysis/passes/asmdecl/testdata/src/a/asm3.s:43:TEXT ·arg8(SB),7,$0-2 // want `wrong argument size 2; expected \$\.\.\.-16` golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/analysis/passes/asmdecl/testdata/src/a/asm3.s-44- MOVB x+0(FP), AX // want `invalid MOVB of x\+0\(FP\); int64 is 8-byte value` ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/analysis/passes/asmdecl/testdata/src/a/asm3.s-59- golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/analysis/passes/asmdecl/testdata/src/a/asm3.s:60:TEXT ·argint(SB),0,$0-2 // want `wrong argument size 2; expected \$\.\.\.-8` golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/analysis/passes/asmdecl/testdata/src/a/asm3.s-61- MOVB x+0(FP), AX // want `invalid MOVB of x\+0\(FP\); int is 4-byte value` ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/analysis/passes/asmdecl/testdata/src/a/asm3.s-70- golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/analysis/passes/asmdecl/testdata/src/a/asm3.s:71:TEXT ·argptr(SB),7,$0-2 // want `wrong argument size 2; expected \$\.\.\.-20` golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/analysis/passes/asmdecl/testdata/src/a/asm3.s-72- MOVB x+0(FP), AX // want `invalid MOVB of x\+0\(FP\); \*byte is 4-byte value` ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/analysis/passes/asmdecl/testdata/src/a/asm3.s-84- golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/analysis/passes/asmdecl/testdata/src/a/asm3.s:85:TEXT ·argstring(SB),0,$16 // want `wrong argument size 0; expected \$\.\.\.-16` golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/analysis/passes/asmdecl/testdata/src/a/asm3.s-86- MOVH x+0(FP), AX // want `invalid MOVH of x\+0\(FP\); string base is 4-byte value` ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/analysis/passes/asmdecl/testdata/src/a/asm3.s-98- golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/analysis/passes/asmdecl/testdata/src/a/asm3.s:99:TEXT ·argslice(SB),0,$24 // want `wrong argument size 0; expected \$\.\.\.-24` golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/analysis/passes/asmdecl/testdata/src/a/asm3.s-100- MOVH x+0(FP), AX // want `invalid MOVH of x\+0\(FP\); slice base is 4-byte value` ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/analysis/passes/asmdecl/testdata/src/a/asm5.s-35- golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/analysis/passes/asmdecl/testdata/src/a/asm5.s:36:TEXT ·arg4(SB),0,$0-2 // want `arg4: wrong argument size 2; expected \$\.\.\.-8` golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/analysis/passes/asmdecl/testdata/src/a/asm5.s-37- MOVB x+0(FP), R1 // want `invalid MOVB of x\+0\(FP\); int32 is 4-byte value` ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/analysis/passes/asmdecl/testdata/src/a/asm5.s-48- golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/analysis/passes/asmdecl/testdata/src/a/asm5.s:49:TEXT ·arg8(SB),7,$0-2 // want `wrong argument size 2; expected \$\.\.\.-16` golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/analysis/passes/asmdecl/testdata/src/a/asm5.s-50- MOVB x+0(FP), R1 // want `invalid MOVB of x\+0\(FP\); int64 is 8-byte value` ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/analysis/passes/asmdecl/testdata/src/a/asm5.s-61- golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/analysis/passes/asmdecl/testdata/src/a/asm5.s:62:TEXT ·argint(SB),0,$0-2 // want `wrong argument size 2; expected \$\.\.\.-16` golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/analysis/passes/asmdecl/testdata/src/a/asm5.s-63- MOVB x+0(FP), R1 // want `invalid MOVB of x\+0\(FP\); int is 8-byte value` ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/analysis/passes/asmdecl/testdata/src/a/asm5.s-74- golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/analysis/passes/asmdecl/testdata/src/a/asm5.s:75:TEXT ·argptr(SB),7,$0-2 // want `wrong argument size 2; expected \$\.\.\.-40` golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/analysis/passes/asmdecl/testdata/src/a/asm5.s-76- MOVB x+0(FP), R1 // want `invalid MOVB of x\+0\(FP\); \*byte is 8-byte value` ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/analysis/passes/asmdecl/testdata/src/a/asm5.s-90- golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/analysis/passes/asmdecl/testdata/src/a/asm5.s:91:TEXT ·argstring(SB),0,$32 // want `wrong argument size 0; expected \$\.\.\.-32` golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/analysis/passes/asmdecl/testdata/src/a/asm5.s-92- MOVH x+0(FP), R1 // want `invalid MOVH of x\+0\(FP\); string base is 8-byte value` ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/analysis/passes/asmdecl/testdata/src/a/asm5.s-107- golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/analysis/passes/asmdecl/testdata/src/a/asm5.s:108:TEXT ·argslice(SB),0,$48 // want `wrong argument size 0; expected \$\.\.\.-48` golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/analysis/passes/asmdecl/testdata/src/a/asm5.s-109- MOVH x+0(FP), R1 // want `invalid MOVH of x\+0\(FP\); slice base is 8-byte value` ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/analysis/passes/asmdecl/testdata/src/a/asm6.s-35- golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/analysis/passes/asmdecl/testdata/src/a/asm6.s:36:TEXT ·arg4(SB),0,$0-2 // want `arg4: wrong argument size 2; expected \$\.\.\.-8` golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/analysis/passes/asmdecl/testdata/src/a/asm6.s-37- MOVB x+0(FP), R1 // want `invalid MOVB of x\+0\(FP\); int32 is 4-byte value` ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/analysis/passes/asmdecl/testdata/src/a/asm6.s-48- golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/analysis/passes/asmdecl/testdata/src/a/asm6.s:49:TEXT ·arg8(SB),7,$0-2 // want `wrong argument size 2; expected \$\.\.\.-16` golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/analysis/passes/asmdecl/testdata/src/a/asm6.s-50- MOVB x+0(FP), R1 // want `invalid MOVB of x\+0\(FP\); int64 is 8-byte value` ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/analysis/passes/asmdecl/testdata/src/a/asm6.s-61- golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/analysis/passes/asmdecl/testdata/src/a/asm6.s:62:TEXT ·argint(SB),0,$0-2 // want `wrong argument size 2; expected \$\.\.\.-16` golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/analysis/passes/asmdecl/testdata/src/a/asm6.s-63- MOVB x+0(FP), R1 // want `invalid MOVB of x\+0\(FP\); int is 8-byte value` ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/analysis/passes/asmdecl/testdata/src/a/asm6.s-74- golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/analysis/passes/asmdecl/testdata/src/a/asm6.s:75:TEXT ·argptr(SB),7,$0-2 // want `wrong argument size 2; expected \$\.\.\.-40` golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/analysis/passes/asmdecl/testdata/src/a/asm6.s-76- MOVB x+0(FP), R1 // want `invalid MOVB of x\+0\(FP\); \*byte is 8-byte value` ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/analysis/passes/asmdecl/testdata/src/a/asm6.s-90- golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/analysis/passes/asmdecl/testdata/src/a/asm6.s:91:TEXT ·argstring(SB),0,$32 // want `wrong argument size 0; expected \$\.\.\.-32` golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/analysis/passes/asmdecl/testdata/src/a/asm6.s-92- MOVH x+0(FP), R1 // want `invalid MOVH of x\+0\(FP\); string base is 8-byte value` ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/analysis/passes/asmdecl/testdata/src/a/asm6.s-107- golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/analysis/passes/asmdecl/testdata/src/a/asm6.s:108:TEXT ·argslice(SB),0,$48 // want `wrong argument size 0; expected \$\.\.\.-48` golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/analysis/passes/asmdecl/testdata/src/a/asm6.s-109- MOVH x+0(FP), R1 // want `invalid MOVH of x\+0\(FP\); slice base is 8-byte value` ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/analysis/passes/asmdecl/testdata/src/a/asm7.s-35- golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/analysis/passes/asmdecl/testdata/src/a/asm7.s:36:TEXT ·arg4(SB),0,$0-2 // want `arg4: wrong argument size 2; expected \$\.\.\.-8` golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/analysis/passes/asmdecl/testdata/src/a/asm7.s-37- MOVB x+0(FP), R3 // want `invalid MOVB of x\+0\(FP\); int32 is 4-byte value` ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/analysis/passes/asmdecl/testdata/src/a/asm7.s-48- golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/analysis/passes/asmdecl/testdata/src/a/asm7.s:49:TEXT ·arg8(SB),7,$0-2 // want `wrong argument size 2; expected \$\.\.\.-16` golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/analysis/passes/asmdecl/testdata/src/a/asm7.s-50- MOVB x+0(FP), R3 // want `invalid MOVB of x\+0\(FP\); int64 is 8-byte value` ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/analysis/passes/asmdecl/testdata/src/a/asm7.s-61- golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/analysis/passes/asmdecl/testdata/src/a/asm7.s:62:TEXT ·argint(SB),0,$0-2 // want `wrong argument size 2; expected \$\.\.\.-16` golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/analysis/passes/asmdecl/testdata/src/a/asm7.s-63- MOVB x+0(FP), R3 // want `invalid MOVB of x\+0\(FP\); int is 8-byte value` ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/analysis/passes/asmdecl/testdata/src/a/asm7.s-74- golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/analysis/passes/asmdecl/testdata/src/a/asm7.s:75:TEXT ·argptr(SB),7,$0-2 // want `wrong argument size 2; expected \$\.\.\.-40` golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/analysis/passes/asmdecl/testdata/src/a/asm7.s-76- MOVB x+0(FP), R3 // want `invalid MOVB of x\+0\(FP\); \*byte is 8-byte value` ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/analysis/passes/asmdecl/testdata/src/a/asm7.s-90- golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/analysis/passes/asmdecl/testdata/src/a/asm7.s:91:TEXT ·argstring(SB),0,$32 // want `wrong argument size 0; expected \$\.\.\.-32` golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/analysis/passes/asmdecl/testdata/src/a/asm7.s-92- MOVH x+0(FP), R3 // want `invalid MOVH of x\+0\(FP\); string base is 8-byte value` ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/analysis/passes/asmdecl/testdata/src/a/asm7.s-107- golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/analysis/passes/asmdecl/testdata/src/a/asm7.s:108:TEXT ·argslice(SB),0,$48 // want `wrong argument size 0; expected \$\.\.\.-48` golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/analysis/passes/asmdecl/testdata/src/a/asm7.s-109- MOVH x+0(FP), R3 // want `invalid MOVH of x\+0\(FP\); slice base is 8-byte value` ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/analysis/passes/asmdecl/testdata/src/a/asm8.s-32- golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/analysis/passes/asmdecl/testdata/src/a/asm8.s:33:TEXT ·arg4(SB),0,$0-2 // want `arg4: wrong argument size 2; expected \$\.\.\.-8` golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/analysis/passes/asmdecl/testdata/src/a/asm8.s-34- MOVB x+0(FP), R1 // want `invalid MOVB of x\+0\(FP\); int32 is 4-byte value` ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/analysis/passes/asmdecl/testdata/src/a/asm8.s-43- golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/analysis/passes/asmdecl/testdata/src/a/asm8.s:44:TEXT ·arg8(SB),7,$0-2 // want `wrong argument size 2; expected \$\.\.\.-16` golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/analysis/passes/asmdecl/testdata/src/a/asm8.s-45- MOVB x+0(FP), R1 // want `invalid MOVB of x\+0\(FP\); int64 is 8-byte value` ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/analysis/passes/asmdecl/testdata/src/a/asm8.s-57- golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/analysis/passes/asmdecl/testdata/src/a/asm8.s:58:TEXT ·argint(SB),0,$0-2 // want `wrong argument size 2; expected \$\.\.\.-8` golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/analysis/passes/asmdecl/testdata/src/a/asm8.s-59- MOVB x+0(FP), R1 // want `invalid MOVB of x\+0\(FP\); int is 4-byte value` ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/analysis/passes/asmdecl/testdata/src/a/asm8.s-68- golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/analysis/passes/asmdecl/testdata/src/a/asm8.s:69:TEXT ·argptr(SB),7,$0-2 // want `wrong argument size 2; expected \$\.\.\.-20` golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/analysis/passes/asmdecl/testdata/src/a/asm8.s-70- MOVB x+0(FP), R1 // want `invalid MOVB of x\+0\(FP\); \*byte is 4-byte value` ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/analysis/passes/asmdecl/testdata/src/a/asm8.s-82- golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/analysis/passes/asmdecl/testdata/src/a/asm8.s:83:TEXT ·argstring(SB),0,$16 // want `wrong argument size 0; expected \$\.\.\.-16` golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/analysis/passes/asmdecl/testdata/src/a/asm8.s-84- MOVH x+0(FP), R1 // want `invalid MOVH of x\+0\(FP\); string base is 4-byte value` ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/analysis/passes/asmdecl/testdata/src/a/asm8.s-95- golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/analysis/passes/asmdecl/testdata/src/a/asm8.s:96:TEXT ·argslice(SB),0,$24 // want `wrong argument size 0; expected \$\.\.\.-24` golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/analysis/passes/asmdecl/testdata/src/a/asm8.s-97- MOVH x+0(FP), R1 // want `invalid MOVH of x\+0\(FP\); slice base is 4-byte value` ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/analysis/passes/unsafeptr/testdata/src/a/a.go-32- x = unsafe.Pointer(v.Pointer() + 1) // want "possible misuse of unsafe.Pointer" golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/analysis/passes/unsafeptr/testdata/src/a/a.go:33: x = unsafe.Pointer(v.UnsafeAddr()) golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/analysis/passes/unsafeptr/testdata/src/a/a.go:34: x = unsafe.Pointer((v.UnsafeAddr())) golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/analysis/passes/unsafeptr/testdata/src/a/a.go-35- var s1 *reflect.StringHeader ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/analysis/passes/unsafeptr/testdata/src/a/a.go-47- x = unsafe.Pointer(vv.Pointer()) // want "possible misuse of unsafe.Pointer" golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/analysis/passes/unsafeptr/testdata/src/a/a.go:48: x = unsafe.Pointer(vv.UnsafeAddr()) // want "possible misuse of unsafe.Pointer" golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/analysis/passes/unsafeptr/testdata/src/a/a.go-49- var ss1 *StringHeader ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/analysis/passes/unsafeptr/testdata/src/a/a.go-57- Pointer() uintptr golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/analysis/passes/unsafeptr/testdata/src/a/a.go:58: UnsafeAddr() uintptr golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/analysis/passes/unsafeptr/testdata/src/a/a.go-59-} ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/analysis/passes/unsafeptr/unsafeptr.go-99- // "(5) Conversion of the result of reflect.Value.Pointer or golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/analysis/passes/unsafeptr/unsafeptr.go:100: // reflect.Value.UnsafeAddr from uintptr to Pointer." golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/analysis/passes/unsafeptr/unsafeptr.go-101- if len(x.Args) != 0 { ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/internal/gccgoimporter/parser.go-587- if p.tok == '/' { golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/internal/gccgoimporter/parser.go:588: // Skip a /*nointerface*/ or /*asm ID */ comment. golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/internal/gccgoimporter/parser.go-589- p.expect('/') ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/internal/gccgoimporter/parser.go-779- if p.tok == '/' { golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/internal/gccgoimporter/parser.go:780: // Skip an /*asm ID */ comment. golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/internal/gccgoimporter/parser.go-781- p.expect('/') ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/pointer/gen.go-382-// golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/pointer/gen.go:383:func (a *analysis) offsetAddr(T types.Type, dst, src nodeid, offset uint32) { golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/pointer/gen.go-384- if !a.shouldTrack(T) { ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/pointer/gen.go-796-// Idempotent. Objects are created as needed, possibly via recursion golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/pointer/gen.go:797:// down the SSA value graph, e.g IndexAddr(FieldAddr(Alloc))). golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/pointer/gen.go-798-// ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/pointer/gen.go-910-// or 'v=ptr[*]' (IndexAddr) instruction v. golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/pointer/gen.go:911:func (a *analysis) genOffsetAddr(cgn *cgnode, v ssa.Value, ptr nodeid, offset uint32) { golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/pointer/gen.go-912- dst := a.valueNode(v) ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/pointer/gen.go-916- } else { golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/pointer/gen.go:917: a.offsetAddr(v.Type(), dst, ptr, offset) golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/pointer/gen.go-918- } ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/pointer/gen.go-977- case *ssa.FieldAddr: golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/pointer/gen.go:978: a.genOffsetAddr(cgn, instr, a.valueNode(instr.X), golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/pointer/gen.go-979- a.offsetOf(mustDeref(instr.X.Type()), instr.Field)) ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/pointer/gen.go-981- case *ssa.IndexAddr: golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/pointer/gen.go:982: a.genOffsetAddr(cgn, instr, a.valueNode(instr.X), 1) golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/pointer/gen.go-983- ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/pointer/hvn.go-24-// golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/pointer/hvn.go:25:// All addr (y=&x) nodes are initially assigned a pointer-equivalence golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/pointer/hvn.go-26-// (PE) label equal to x's nodeid in the main graph. (These are the ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/pointer/hvn.go-28-// golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/pointer/hvn.go:29:// All offsetAddr (y=&x.f) constraints are initially assigned a PE golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/pointer/hvn.go-30-// label; such labels are memoized, keyed by (x, f), so that equivalent ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/pointer/reflect.go-158- golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/pointer/reflect.go:159:func ext۰reflect۰Value۰Addr(a *analysis, cgn *cgnode) {} // TODO(adonovan) golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/pointer/reflect.go-160- ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/ssa/builder.go-336-// golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/ssa/builder.go:337:func (b *builder) addr(fn *Function, e ast.Expr, escaping bool) lvalue { golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/ssa/builder.go-338- switch e := e.(type) { ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/ssa/builder.go-364- case *ast.ParenExpr: golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/ssa/builder.go:365: return b.addr(fn, e.X, escaping) golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/ssa/builder.go-366- ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/ssa/builder.go-370- // qualified identifier golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/ssa/builder.go:371: return b.addr(fn, e.Sel, escaping) golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/ssa/builder.go-372- } ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/ssa/builder.go-389- case *types.Array: golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/ssa/builder.go:390: x = b.addr(fn, e.X, escaping).address(fn) golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/ssa/builder.go-391- et = types.NewPointer(t.Elem()) ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/ssa/builder.go-461- if isPointer(loc.typ()) { golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/ssa/builder.go:462: ptr := b.addr(fn, e, true).address(fn) golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/ssa/builder.go-463- // copy address ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/ssa/builder.go-527- // to avoid large copies. golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/ssa/builder.go:528: v = b.addr(fn, e, false).load(fn) golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/ssa/builder.go-529- } else { ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/ssa/builder.go-602- case token.AND: // &X --- potentially escaping. golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/ssa/builder.go:603: addr := b.addr(fn, e.X, true) golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/ssa/builder.go-604- if _, ok := unparen(e.X).(*ast.StarExpr); ok { ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/ssa/builder.go-648- // Potentially escaping. golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/ssa/builder.go:649: x = b.addr(fn, e.X, true).address(fn) golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/ssa/builder.go-650- case *types.Basic, *types.Slice, *types.Pointer: // *array ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/ssa/builder.go-772- // Addressable slice/array; use IndexAddr and Load. golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/ssa/builder.go:773: return b.addr(fn, e, false).load(fn) golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/ssa/builder.go-774- ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/ssa/builder.go-780- // Addressable types (lvalues) golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/ssa/builder.go:781: return b.addr(fn, e, false).load(fn) golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/ssa/builder.go-782- } ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/ssa/builder.go-799-// wantAddr requests that the result is an an address. If golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/ssa/builder.go:800:// !sel.Indirect(), this may require that e be built in addr() mode; it golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/ssa/builder.go-801-// must thus be addressable. golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/ssa/builder.go-802-// golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/ssa/builder.go:803:// escaping is defined as per builder.addr(). golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/ssa/builder.go-804-// ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/ssa/builder.go-807- if wantAddr && !sel.Indirect() && !isPointer(fn.Pkg.typeOf(e)) { golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/ssa/builder.go:808: v = b.addr(fn, e, escaping).address(fn) golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/ssa/builder.go-809- } else { ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/ssa/builder.go-989- } golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/ssa/builder.go:990: lval := b.addr(fn, id, false) // non-escaping golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/ssa/builder.go-991- b.assign(fn, lval, spec.Values[i], true, nil) ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/ssa/builder.go-1011- fn.addLocalForIdent(id) golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/ssa/builder.go:1012: lhs := b.addr(fn, id, false) // non-escaping golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/ssa/builder.go-1013- lhs.store(fn, emitExtract(fn, tuple, i)) ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/ssa/builder.go-1036- } golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/ssa/builder.go:1037: lval = b.addr(fn, lhs, false) // non-escaping golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/ssa/builder.go-1038- } ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/ssa/builder.go-1207- // an &-operation is implied. golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/ssa/builder.go:1208: key = b.addr(fn, e.Key, true).address(fn) golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/ssa/builder.go-1209- } else { ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/ssa/builder.go-1585- } golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/ssa/builder.go:1586: x := b.addr(fn, comm.Lhs[0], false) // non-escaping golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/ssa/builder.go-1587- v := emitExtract(fn, sel, r) ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/ssa/builder.go-1596- } golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/ssa/builder.go:1597: ok := b.addr(fn, comm.Lhs[1], false) // non-escaping golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/ssa/builder.go-1598- ok.store(fn, emitExtract(fn, sel, 1)) ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/ssa/builder.go-1929- if tk != nil { golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/ssa/builder.go:1930: kl = b.addr(fn, s.Key, false) // non-escaping golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/ssa/builder.go-1931- } golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/ssa/builder.go-1932- if tv != nil { golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/ssa/builder.go:1933: vl = b.addr(fn, s.Value, false) // non-escaping golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/ssa/builder.go-1934- } ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/ssa/builder.go-2002- } golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/ssa/builder.go:2003: loc := b.addr(fn, s.X, false) golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/ssa/builder.go-2004- b.assignOp(fn, loc, NewConst(constant.MakeInt64(1), loc.typ()), op, s.Pos()) ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/ssa/builder.go-2012- op := s.Tok + token.ADD - token.ADD_ASSIGN golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/ssa/builder.go:2013: b.assignOp(fn, b.addr(fn, s.Lhs[0], false), b.expr(fn, s.Rhs[0]), op, s.Pos()) golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/ssa/builder.go-2014- } ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/ssa/interp/reflect.go-391- golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/ssa/interp/reflect.go:392:func ext۰reflect۰Value۰CanAddr(fr *frame, args []value) value { golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/ssa/interp/reflect.go-393- // Signature: func (v reflect.Value) bool ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/ssa/interp/testdata/methprom.go-58- golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/ssa/interp/testdata/methprom.go:59:func addr() *C { golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/ssa/interp/testdata/methprom.go-60- return &theC ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/ssa/interp/testdata/methprom.go-68- // address golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/ssa/interp/testdata/methprom.go:69: addr().x() golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/ssa/interp/testdata/methprom.go:70: if addr().y() != &theC.A { golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/ssa/interp/testdata/methprom.go-71- panic("oops") golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/ssa/interp/testdata/methprom.go-72- } golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/ssa/interp/testdata/methprom.go:73: addr().p() golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/ssa/interp/testdata/methprom.go:74: addr().q() golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/ssa/interp/testdata/methprom.go:75: addr().f() golang-golang-x-tools-0.0~git20201121.780cb80+ds/go/ssa/interp/testdata/methprom.go-76- ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/godoc/server.go-92- // It defaults to the host's GOOS/GOARCH, and golang.org's golang-golang-x-tools-0.0~git20201121.780cb80+ds/godoc/server.go:93: // linux/amd64 means the wasm syscall/js package was blank. golang-golang-x-tools-0.0~git20201121.780cb80+ds/godoc/server.go:94: // And you can't run godoc on js/wasm anyway, so host defaults golang-golang-x-tools-0.0~git20201121.780cb80+ds/godoc/server.go-95- // don't make sense here. ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/gopls/doc/troubleshooting.md-79-names like `gopls.1234-5GiB-withnames.zip`. On Windows, your temporary golang-golang-x-tools-0.0~git20201121.780cb80+ds/gopls/doc/troubleshooting.md:80:directory will be located at `%TMP%`, and on Unixes, it will be `$TMPDIR`, golang-golang-x-tools-0.0~git20201121.780cb80+ds/gopls/doc/troubleshooting.md-81-which is usually `/tmp`. Please create a ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/gopls/doc/user.md-134- golang-golang-x-tools-0.0~git20201121.780cb80+ds/gopls/doc/user.md:135:If you are working on the [Go project](https://go.googlesource.com/go) itself, your `go` command will have to correspond to the version of the source you are working on. That is, if you have downloaded the code to `$HOME/go`, your `go` command should be the `$HOME/go/bin/go` executable that you built with `make.bash` or equivalent. golang-golang-x-tools-0.0~git20201121.780cb80+ds/gopls/doc/user.md-136- golang-golang-x-tools-0.0~git20201121.780cb80+ds/gopls/doc/user.md:137:You can achieve this by adding the right version of `go` to your `PATH` (`export PATH=$HOME/go/bin:$PATH` on Unix systems) or by configuring your editor. In VS Code, you can use the `go.alternateTools` setting to point to the correct version of `go`: golang-golang-x-tools-0.0~git20201121.780cb80+ds/gopls/doc/user.md-138- ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/gopls/integration/govim/README.md-8-To run these integration tests in Cloud Build, use the following steps. Here golang-golang-x-tools-0.0~git20201121.780cb80+ds/gopls/integration/govim/README.md:9:we assume that `$PROJECT_ID` is a valid GCP project and `$BUCKET` is a cloud golang-golang-x-tools-0.0~git20201121.780cb80+ds/gopls/integration/govim/README.md-10-storage bucket owned by that project. ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/gopls/integration/govim/README.md-31- golang-golang-x-tools-0.0~git20201121.780cb80+ds/gopls/integration/govim/README.md:32:- logs: `https://storage.googleapis.com/${BUCKET}/log-${EVALUATION_ID}.txt` golang-golang-x-tools-0.0~git20201121.780cb80+ds/gopls/integration/govim/README.md:33:- artifact tarball: `https://storage.googleapis.com/${BUCKET}/govim/${EVALUATION_ID}/artifacts.tar.gz` golang-golang-x-tools-0.0~git20201121.780cb80+ds/gopls/integration/govim/README.md-34- ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/gopls/integration/replay/README.md-9-The `logfile` should be the log produced by gopls. It will have a name like golang-golang-x-tools-0.0~git20201121.780cb80+ds/gopls/integration/replay/README.md:10:`/tmp/gopls-89775` or, on a Mac, `$TMPDIR/gopls-29388`. golang-golang-x-tools-0.0~git20201121.780cb80+ds/gopls/integration/replay/README.md-11- ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/gopls/integration/replay/README.md-13-It looks in the same places where `go install` would put its output, golang-golang-x-tools-0.0~git20201121.780cb80+ds/gopls/integration/replay/README.md:14:namely `$GOBIN/gopls`, `$GOPATH/bin/gopls`, `$HOME/go/bin/gopls`. golang-golang-x-tools-0.0~git20201121.780cb80+ds/gopls/integration/replay/README.md-15- ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/fakenet/conn.go-68-func (c *fakeConn) Write(b []byte) (n int, err error) { return c.writer.do(b) } golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/fakenet/conn.go:69:func (c *fakeConn) LocalAddr() net.Addr { return fakeAddr(c.name) } golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/fakenet/conn.go:70:func (c *fakeConn) RemoteAddr() net.Addr { return fakeAddr(c.name) } golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/fakenet/conn.go-71-func (c *fakeConn) SetDeadline(t time.Time) error { return nil } ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/jsonrpc2/serve_test.go-28- connect := func() net.Conn { golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/jsonrpc2/serve_test.go:29: conn, err := net.DialTimeout("tcp", ln.Addr().String(), 5*time.Second) golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/jsonrpc2/serve_test.go-30- if err != nil { ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/jsonrpc2/servertest/servertest.go-47- go jsonrpc2.Serve(ctx, ln, server, 0) golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/jsonrpc2/servertest/servertest.go:48: return &TCPServer{Addr: ln.Addr().String(), ln: ln, framer: framer, connList: &connList{}} golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/jsonrpc2/servertest/servertest.go-49-} ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/cmd/cmd.go-247- connection := newConnection(app) golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/cmd/cmd.go:248: network, addr := parseAddr(remote) golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/cmd/cmd.go-249- conn, err := lsprpc.ConnectToRemote(ctx, network, addr) ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/cmd/inspect.go-89- } golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/cmd/inspect.go:90: network, address := parseAddr(remote) golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/cmd/inspect.go-91- state, err := lsprpc.QueryServerState(ctx, network, address) ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/cmd/serve.go-81- if s.app.Remote != "" { golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/cmd/serve.go:82: network, addr := parseAddr(s.app.Remote) golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/cmd/serve.go-83- ss = lsprpc.NewForwarder(network, addr, ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/cmd/serve.go-93- if s.Address != "" { golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/cmd/serve.go:94: network, addr = parseAddr(s.Address) golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/cmd/serve.go-95- } ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/cmd/serve.go-117-// parseAddr parses the -listen flag in to a network, and address. golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/cmd/serve.go:118:func parseAddr(listen string) (network string, address string) { golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/cmd/serve.go-119- // Allow passing just -remote=auto, as a shorthand for using automatic remote ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/cmd/serve_test.go-19- for _, test := range tests { golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/cmd/serve_test.go:20: gotNetwork, gotAddr := parseAddr(test.input) golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/cmd/serve_test.go-21- if gotNetwork != test.wantNetwork { ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/command.go-323- golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/command.go:324: // Run `go test -run=^$ -bench Func` on each test. golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/command.go-325- var failedBenchmarks int ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/debug/serve.go-394- } golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/debug/serve.go:395: i.ListenedDebugAddress = listener.Addr().String() golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/debug/serve.go-396- golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/debug/serve.go:397: port := listener.Addr().(*net.TCPAddr).Port golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/debug/serve.go-398- if strings.HasSuffix(i.DebugAddress, ":0") { ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/tsprotocol.go-629- * golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/tsprotocol.go:630: * A snippet can define tab stops and placeholders with `$1`, `$2` golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/tsprotocol.go:631: * and `${3:foo}`. `$0` defines the final tab stop, it defaults to golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/tsprotocol.go-632- * the end of the snippet. Placeholders with equal identifiers are linked, ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/tsprotocol.go-4321- * golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/tsprotocol.go:4322: * A snippet can define tab stops and placeholders with `$1`, `$2` golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/tsprotocol.go:4323: * and `${3:foo}`. `$0` defines the final tab stop, it defaults to golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/tsprotocol.go-4324- * the end of the snippet. Placeholders with equal identifiers are linked, ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/README.md-35- golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/README.md:36:(The instructions are somewhat different for Linux and MacOS. They install some things locally, so `$PATH` needs to be changed.) golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/README.md-37- ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts-46- throw new Error( golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts:47: `expected Identifier, got ${strKind(node.name)} at ${loc(node)}`) golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts-48- } ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts-55- throw new Error( golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts:56: `expected ModuleBody got ${strKind(node.body)} at ${loc(node)}`) golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts-57- } ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts-68- if (dl.declarations.length != 1) golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts:69: throw new Error(`expected a single decl at ${loc(dl)}`); golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts-70- const decl: ts.VariableDeclaration = dl.declarations[0]; ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts-75- if (!ts.isNoSubstitutionTemplateLiteral(decl.initializer)) { golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts:76: console.log(`${decl.initializer.getText()}`); golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts:77: throw new Error(`expect StringLiteral at ${loc(decl)} got ${strKind(decl.initializer)}`); golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts-78- } ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts-83- if (!ts.isNewExpression(decl.initializer)) golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts:84: throw new Error(`expecte new at ${loc(decl)}`); golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts-85- const nn: ts.NewExpression = decl.initializer ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts-102- default: golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts:103: throw new Error(`${nn.typeArguments.length} at ${loc(nn)}`) golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts-104- } ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts-106- } golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts:107: if (rpc == '') throw new Error(`no name found at ${loc(x)}`); golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts-108- // remember the implied types ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts-152- receives.forEach((_, k) => { golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts:153: if (!req.get(k) && !not.get(k)) throw new Error(`missing ${k}}`); golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts:154: if (req.get(k) && not.get(k)) throw new Error(`dup ${k}`); golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts-155- }) ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts-187- }; golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts:188: return `D(${d.name}) g;${f(d.generics)} a:${f(d.as)} p:${f(d.properties)} s:${f(d.statements)} e:${f(d.enums)} m:${f(d.members)} ${d.alias != undefined}` golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts-189-} ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts-219- } else golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts:220: throw new Error(`217 unexpected ${strKind(t)}`) golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts-221- }; ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts-261- if (!ts.isModuleBlock(v.body)) { golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts:262: throw new Error(`${loc(v)} not ModuleBlock, but ${strKind(v.body)}`) golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts-263- } ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts-275- throw new Error( golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts:276: `expected VariableStatment ${loc(x)} ${strKind(x)} ${x.getText()}`); golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts-277- if (hasNewExpression(x)) { ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts-318- }; golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts:319: throw new Error(`Class decl ${strKind(c)} `) golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts-320- }; ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts-336- if (data.has(c.name)) golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts:337: throw new Error(`Class dup ${loc(c.me)} and ${loc(data.get(c.name).me)}`); golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts-338- data.set(c.name, c); golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts-339- } else { golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts:340: throw new Error(`338 unexpected ${strKind(node)} ${loc(node)} `) golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts-341- } ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts-350- } golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts:351: const ax = `(${a.statements.length},${a.properties.length})` golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts:352: const bx = `(${b.statements.length},${b.properties.length})` golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts-353- switch (a.name) { ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts-369- console.log( golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts:370: `367 ${strKind(a.me)} ${strKind(b.me)} ${a.name} ${loc(a.me)} ${loc(b.me)}`) golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts:371: throw new Error(`Fix dataMerge for ${a.name}`) golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts-372-} ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts-385- rpcTypes.forEach(s => { golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts:386: if (!data.has(s)) throw new Error(`checkOnce, ${s}?`) golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts-387- }); ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts-432- if (ts.isStringLiteral(n.initializer)) return; golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts:433: throw new Error(`EnumMember ${strKind(n.initializer)} ${n.name.getText()}`) golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts-434- } else { golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts:435: throw new Error(`saw ${strKind(n)} in underlying. ${n.getText()} at ${loc(n)}`) golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts-436- } ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts-443- const extra = function (s: string) { golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts:444: if (!data.has(s)) throw new Error(`moreTypes needs ${s}`); golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts-445- seenTypes.set(s, data.get(s)) ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts-505- throw new Error( golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts:506: `more cases in toGo ${nm} ${d.as.length} ${d.generics.length} `) golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts-507-} ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts-517-function goInterface(d: Data, nm: string) { golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts:518: let ans = `type ${goName(nm)} struct {\n`; golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts-519- ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts-522- if (!ts.isPropertySignature(n)) golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts:523: throw new Error(`expected PropertySignature got ${strKind(n)} `); golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts-524- ans = ans.concat(getComments(n)); ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts-534- }) golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts:535: ans = ans.concat(`${goName(n.name.getText())} ${gt}`, json, '\n'); golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts-536- }; ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts-541- if (!ts.isIdentifier(n.expression)) golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts:542: throw new Error(`Interface ${nm} heritage ${strKind(n.expression)} `); golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts-543- ans = ans.concat(goName(n.expression.getText()), '\n') ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts-571- if (!v.initializer) golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts:572: throw new Error(`no initializer ${nm} ${i} ${v.name.getText()}`); golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts-573- isNumeric = strKind(v.initializer) == 'NumericLiteral'; ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts-578- val = val.split('\'').join('"') // useless work for numbers golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts:579: constsOut.push(`${cname} ${nm} = ${val}`) golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts-580- }; ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts-583- // Or should they be type aliases? golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts:584: typesOut.push(`type ${nm} ${isNumeric ? 'float64' : 'string'}`) golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts-585-} ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts-591- if (!v.initializer) golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts:592: throw new Error(`goEnum no initializer ${nm} ${j} ${v.name.getText()}`); golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts-593- isNumeric = strKind(v.initializer) == 'NumericLiteral'; ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts-597- val = val.split('\'').join('"') // replace quotes. useless work for numbers golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts:598: constsOut.push(`${c}${cname} ${nm} = ${val}`) golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts-599- }; ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts-602- // Or should they be type aliases? golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts:603: typesOut.push(`type ${nm} ${isNumeric ? 'float64' : 'string'}`) golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts-604-} ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts-609- if (nm != 'ServerCapabilities') golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts:610: throw new Error(`${nm} has extra fields(${d.as.length},${d.generics.length}) ${d.me.getText()}`); golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts-611- } ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts-614- let aliasStr = goName(nm) == 'DocumentURI' ? ' ' : ' = ' golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts:615: typesOut.push(`type ${goName(nm)}${aliasStr}${goType(d.alias, nm)}\n`) golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts-616-} ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts-645- } golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts:646: return `[]${goType(n.elementType, nm)}` golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts-647- } else if (ts.isParenthesizedTypeNode(n)) { ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts-656- if (n.getText() == '[number, number]') return '[]float64'; golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts:657: throw new Error(`goType unexpected Tuple ${n.getText()}`) golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts-658- } golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts:659: throw new Error(`${strKind(n)} goType unexpected ${n.getText()} for ${nm}`) golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts-660-} ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts-665-function goUnionType(n: ts.UnionTypeNode, nm: string, parent?: string): string { golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts:666: let help = `/*${n.getText()}*/` // show the original as a comment golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts-667- // There are some bad cases with newlines: ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts-680- if (a == 'NumberKeyword' && b == 'StringKeyword') { // ID golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts:681: return `interface{} ${help}` golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts-682- } ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts-685- // (Command | CodeAction)[] | null golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts:686: return `[]CodeAction ${help}` golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts-687- } ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts-689- if (v.startsWith(`[]interface`)) v = v.slice(2, v.length) golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts:690: return `${v} ${help}` golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts-691- } golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts-692- if (a == 'BooleanKeyword') { // usually want bool golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts:693: if (nm == 'codeActionProvider') return `interface{} ${help}`; golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts:694: if (nm == 'renameProvider') return `interface{} ${help}`; golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts:695: if (nm == 'full') return `interface{} ${help}`; // there's a struct golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts:696: if (nm == 'save') return `${goType(n.types[1], '680')} ${help}`; golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts:697: return `${goType(n.types[0], 'b')} ${help}` golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts-698- } golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts:699: if (b == 'ArrayType') return `${goType(n.types[1], 'c')} ${help}`; golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts-700- if (help.includes('InsertReplaceEdit') && n.types[0].getText() == 'TextEdit') { golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts:701: return `*TextEdit ${help}` golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts-702- } golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts:703: if (a == 'TypeReference' && a == b) return `interface{} ${help}`; golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts:704: if (a == 'StringKeyword') return `string ${help}`; golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts-705- if (a == 'TypeLiteral' && nm == 'TextDocumentContentChangeEvent') { golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts:706: return `${goType(n.types[0], nm)}` golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts-707- } golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts:708: throw new Error(`691 ${a} ${b} ${n.getText()} ${loc(n)}`); golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts-709- case 3: ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts-714- // want Range, not interface{} golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts:715: return `${goType(n.types[0], nm)} ${help}` golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts-716- } ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts-719- // omitempty but avoid repetitious comments golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts:720: return `${goType(n.types[0], 'g')}` golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts-721- } golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts-722- if (nm == 'textDocument/documentSymbol') { golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts:723: return `[]interface{} ${help}` golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts-724- } golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts-725- if (aa == 'TypeReference' && bb == 'ArrayType' && cc == 'NullKeyword') { golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts:726: return `${goType(n.types[0], 'd')} ${help}` golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts-727- } ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts-729- // should check that this is Hover.Contents golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts:730: return `${goType(n.types[0], 'e')} ${help}` golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts-731- } ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts-733- // check this is nm == 'textDocument/completion' golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts:734: return `${goType(n.types[1], 'f')} ${help}` golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts-735- } golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts:736: if (aa == 'LiteralType' && bb == aa && cc == aa) return `string ${help}`; golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts-737- break; golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts-738- case 4: golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts:739: if (nm == 'documentChanges') return `TextDocumentEdit ${help} `; golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts:740: if (nm == 'textDocument/prepareRename') return `Range ${help} `; golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts-741- default: golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts:742: throw new Error(`goUnionType len=${n.types.length} nm=${nm}`) golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts-743- } ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts-757- m = m.split('\n').join('; ') // sloppy: struct{; golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts:758: res = res.concat(`${i == 0 ? '' : ' | '}`, m) golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts-759- if (!ts.isLiteralTypeNode(v)) isLiteral = false; ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts-765- // trace?: 'off' | 'messages' | 'verbose' should get string golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts:766: return `${literal} /* ${n.getText()} */` golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts-767-} ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts-778- (t: ts.TypeNode) => { inner = inner.concat(goType(t, nm), '\n') }); golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts:779: return `struct{ \n${inner}} ` golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts-780-} ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts-787- const bad = function (n: ts.Node, s: string) { golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts:788: return new Error(`expandIntersection ${strKind(n)} ${s}`) golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts-789- }; ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts-805- ans = ans.concat(getComments(a)); golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts:806: ans = ans.concat(`${goName(k)} ${goType(a.type, k)} ${u.JSON(a)}\n`) golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts-807- continue golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts-808- } golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts:809: ans = ans.concat(`${goName(k)} struct {\n`) golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts-810- for (let i = 0; i < v.length; i++) { ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts-826- } else { golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts:827: throw bad(a.type, `E ${a.getText()} in ${goName(k)} at ${loc(a)}`) golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts-828- } ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts-849- }) golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts:850: res = res.concat(`${v} ${goName(nx.name.getText())} ${typ}`, json, '\n') golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts:851: ans.push(`${v}${goName(nx.name.getText())} ${typ} ${json}\n`) golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts-852- } else if (ts.isIndexSignatureDeclaration(nx)) { ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts-857- } golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts:858: throw new Error(` handle ${nx.getText()}`) golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts-859- } else golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts:860: throw new Error(`TypeLiteral had ${strKind(nx)}`) golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts-861- }; ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts-893- extraTypes.forEach((v, k) => { golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts:894: u.prgo(` type ${k} struct {\n`) golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts-895- v.forEach((s) => { ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts-941- side.methods.push(sig(nm, a, '')); golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts:942: const caseHdr = ` case "${m}": // notif`; golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts-943- let case1 = notNil; ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts-954- } golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts:955: side.cases.push(`${caseHdr}\n${case1}`); golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts-956- ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts-973- } golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts:974: u.prb(`${side.name} req ${a != ''}, ${b != ''} ${nm} ${m} ${loc(n)} `) golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts-975- side.methods.push(sig(nm, a, b)); golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts-976- golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts:977: const caseHdr = `case "${m}": // req`; golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts-978- let case1 = notNil; ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts-997- golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts:998: side.cases.push(`${caseHdr}\n${case1}\n${case2}`); golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts-999- golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts:1000: const callHdr = `func (s *${side.name}Dispatcher) ${sig(nm, a, b, true)} {`; golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts:1001: let callBody = `return Call(ctx, s.Conn, "${m}", nil, nil)\n}`; golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts-1002- if (b != '' && b != 'void') { golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts-1003- const p2 = a == '' ? 'nil' : 'params'; golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts:1004: const returnType = indirect(b) ? `*${b}` : b; golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts-1005- callBody = `var result ${returnType} ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts-1014- } golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts:1015: side.calls.push(`${callHdr}\n${callBody}\n`); golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts-1016-} ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts-1031- // Resolve, ResolveCodeLens, ResolveDocumentLink golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts:1032: if (!x.startsWith('Resolve')) throw new Error(`expected Resolve, not ${x}`) golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts-1033- x += m[0].toUpperCase() + m.substring(1, i) ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts-1052- const v = a.split('\n') golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts:1053: extraTypes.set(`Param${nm}`, v.slice(1, v.length - 1)) golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts-1054- a = 'Param' + nm ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts-1067- if (indirect(b)) b = '*' + b; golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts:1068: ret = `(${b}, error)`; golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts-1069- } golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts:1070: let start = `${nm}(`; golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts-1071- if (names) { ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts-1073- } golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts:1074: return `${start}context.Context${a}) ${ret}`; golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts-1075-} ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts-1080- if (!side.outputFile) { golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts:1081: side.outputFile = `ts${side.name}.go`; golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts-1082- side.fd = fs.openSync(side.outputFile, 'w'); ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts-1098- const a = side.name[0].toUpperCase() + side.name.substring(1) golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts:1099: f(`type ${a} interface {`); golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts-1100- side.methods.forEach((v) => { f(v) }); ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts-1131- throw new Error( golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts:1132: `git hash mismatch, wanted\n${u.gitHash} but source is at\n${u.git()}`); golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts-1133- } ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts-1171- outputTypes() golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts:1172: console.log(`seen ${seenTypes.size + extraTypes.size}`) golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/code.ts-1173- output(client); ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/util.ts-12-export const fnames = [ golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/util.ts:13: `${dir}${srcDir}/protocol/src/common/protocol.ts`, golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/util.ts:14: `${dir}/${srcDir}/protocol/src/browser/main.ts`, `${dir}${srcDir}/types/src/main.ts`, golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/util.ts:15: `${dir}${srcDir}/jsonrpc/src/node/main.ts` golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/util.ts-16-]; ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/util.ts-37-export function git(): string { golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/util.ts:38: let a = fs.readFileSync(`${dir}${srcDir}/.git/HEAD`).toString(); golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/util.ts-39- // ref: refs/heads/foo, or a hash like ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/util.ts-47- if (a.substring(0, 5) == 'ref: ') { golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/util.ts:48: const fname = `${dir}${srcDir}/.git/` + a.substring(5); golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/util.ts-49- let b = fs.readFileSync(fname).toString() ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/util.ts-70- `// generated automatically from vscode-languageserver-node\n` + golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/util.ts:71: `// commit: ${gitHash}\n` + golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/util.ts:72: `// last fetched ${lastDate}\n` golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/util.ts-73- const b = 'package protocol\n' ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/util.ts-144- for (const key of Object.keys(seenThings).sort()) { golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/util.ts:145: pra(`${key}: ${seenThings[key]} \n`) golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/util.ts-146- } ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/util.ts-163- if (ts.isIdentifier(n)) { golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/util.ts:164: pr(`${indent} ${loc(n)} ${strKind(n)} ${n.text} \n`) golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/util.ts-165- } golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/util.ts-166- else if (ts.isPropertySignature(n) || ts.isEnumMember(n)) { golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/util.ts:167: pra(`${indent} ${loc(n)} ${strKind(n)} \n`) golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/util.ts-168- } ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/util.ts-170- let m = n.members golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/util.ts:171: pr(`${indent} ${loc(n)} ${strKind(n)} ${m.length} \n`) golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/util.ts-172- } golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/util.ts-173- else if (ts.isStringLiteral(n)) { golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/util.ts:174: pr(`${indent} ${loc(n)} ${strKind(n)} ${n.text} \n`) golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/util.ts-175- } golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/util.ts:176: else { pr(`${indent} ${loc(n)} ${strKind(n)} \n`) }; golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/protocol/typescript/util.ts-177- indent += ' .' ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/snippet/snippet_builder_test.go-23- golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/snippet/snippet_builder_test.go:24: expect(`hi { \} \$ | " , / \\`, func(b *Builder) { golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/snippet/snippet_builder_test.go:25: b.WriteText(`hi { } $ | " , / \`) golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/snippet/snippet_builder_test.go-26- }) ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/snippet/snippet_builder_test.go-38- golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/snippet/snippet_builder_test.go:39: expect(`${1:id=${2:{your id\}}}`, func(b *Builder) { golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/snippet/snippet_builder_test.go-40- b.WritePlaceholder(func(b *Builder) { ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/snippet/snippet_builder_test.go-47- golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/snippet/snippet_builder_test.go:48: expect(`${1|one,{ \} \$ \| " \, / \\,three|}`, func(b *Builder) { golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/snippet/snippet_builder_test.go:49: b.WriteChoice([]string{"one", `{ } $ | " , / \`, "three"}) golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/snippet/snippet_builder_test.go-50- }) ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/source/comment.go-88-var ( golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/source/comment.go:89: markdownEscape = regexp.MustCompile(`([\\\x60*{}[\]()#+\-.!_>~|"$%&'\/:;<=?@^])`) golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/source/comment.go-90- ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/source/comment.go-108-func escapeRegex(text string) string { golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/source/comment.go:109: return markdownEscape.ReplaceAllString(text, `\$1`) golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/source/comment.go-110-} ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/source/comment.go-190- // path+query+fragment (optional) e.g. /path/index.html?q=foo#bar golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/source/comment.go:191: pathPart = `([.,:;?!]*[a-zA-Z0-9$'()*+&#=@~_/\-\[\]%])*` golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/lsp/source/comment.go-192- ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/span/uri_test.go-102- inputURI: `file://wsl%24/Ubuntu/home/wdcui/repo/VMEnclaves/cvm-runtime`, golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/span/uri_test.go:103: wantFile: `/wsl$/Ubuntu/home/wdcui/repo/VMEnclaves/cvm-runtime`, golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/span/uri_test.go:104: wantURI: span.URI(`file:///wsl$/Ubuntu/home/wdcui/repo/VMEnclaves/cvm-runtime`), golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/span/uri_test.go-105- }, ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/testenv/testenv.go-225-// android, and darwin/arm systems don't have the userspace go build needs to run, golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/testenv/testenv.go:226:// and js/wasm doesn't support running subprocesses. golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/testenv/testenv.go-227-func NeedsGoBuild(t Testing) { ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/tool/tool.go-177- if v.Kind() != reflect.Ptr { golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/tool/tool.go:178: v = v.Addr() golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/tool/tool.go-179- } ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/typesinternal/types.go-23- golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/typesinternal/types.go:24: addr := unsafe.Pointer(f.UnsafeAddr()) golang-golang-x-tools-0.0~git20201121.780cb80+ds/internal/typesinternal/types.go-25- *(*bool)(addr) = true ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/playground/playground.go-32- b := new(bytes.Buffer) golang-golang-x-tools-0.0~git20201121.780cb80+ds/playground/playground.go:33: if err := passThru(b, r); os.IsPermission(err) { golang-golang-x-tools-0.0~git20201121.780cb80+ds/playground/playground.go-34- http.Error(w, "403 Forbidden", http.StatusForbidden) ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/playground/playground.go-44- golang-golang-x-tools-0.0~git20201121.780cb80+ds/playground/playground.go:45:func passThru(w io.Writer, req *http.Request) error { golang-golang-x-tools-0.0~git20201121.780cb80+ds/playground/playground.go-46- if req.URL.Path == "/share" && googleCN(req) { ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/present/parse.go-352-var ( golang-golang-x-tools-0.0~git20201121.780cb80+ds/present/parse.go:353: isHeadingLegacy = regexp.MustCompile(`^\*+( |$)`) golang-golang-x-tools-0.0~git20201121.780cb80+ds/present/parse.go:354: isHeadingMarkdown = regexp.MustCompile(`^\#+( |$)`) golang-golang-x-tools-0.0~git20201121.780cb80+ds/present/parse.go-355-) ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/refactor/eg/rewrite.go-344- if elem := p.Elem(); elem.IsValid() { golang-golang-x-tools-0.0~git20201121.780cb80+ds/refactor/eg/rewrite.go:345: v.Set(tr.subst(env, elem, pos).Addr()) golang-golang-x-tools-0.0~git20201121.780cb80+ds/refactor/eg/rewrite.go-346- } ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/.pc/0003-Disable-static-files-for-present-cmd.patch/cmd/present/main.go-72- golang-golang-x-tools-0.0~git20201121.780cb80+ds/.pc/0003-Disable-static-files-for-present-cmd.patch/cmd/present/main.go:73: _, port, err := net.SplitHostPort(ln.Addr().String()) golang-golang-x-tools-0.0~git20201121.780cb80+ds/.pc/0003-Disable-static-files-for-present-cmd.patch/cmd/present/main.go-74- if err != nil { ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/.pc/0003-Disable-static-files-for-present-cmd.patch/cmd/present/main.go-85- origin.Host = net.JoinHostPort(*originHost, port) golang-golang-x-tools-0.0~git20201121.780cb80+ds/.pc/0003-Disable-static-files-for-present-cmd.patch/cmd/present/main.go:86: } else if ln.Addr().(*net.TCPAddr).IP.IsUnspecified() { golang-golang-x-tools-0.0~git20201121.780cb80+ds/.pc/0003-Disable-static-files-for-present-cmd.patch/cmd/present/main.go-87- name, _ := os.Hostname() ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/.pc/0003-Disable-static-files-for-present-cmd.patch/cmd/present/main.go-103- golang-golang-x-tools-0.0~git20201121.780cb80+ds/.pc/0003-Disable-static-files-for-present-cmd.patch/cmd/present/main.go:104: if !ln.Addr().(*net.TCPAddr).IP.IsLoopback() && golang-golang-x-tools-0.0~git20201121.780cb80+ds/.pc/0003-Disable-static-files-for-present-cmd.patch/cmd/present/main.go-105- present.PlayEnabled && !*nativeClient && !*usePlayground { ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/.pc/0004-Disable-embedding-static-files-for-godoc-cmd.patch/cmd/godoc/godoc_test.go-75- defer ln.Close() golang-golang-x-tools-0.0~git20201121.780cb80+ds/.pc/0004-Disable-embedding-static-files-for-godoc-cmd.patch/cmd/godoc/godoc_test.go:76: return ln.Addr().String() golang-golang-x-tools-0.0~git20201121.780cb80+ds/.pc/0004-Disable-embedding-static-files-for-godoc-cmd.patch/cmd/godoc/godoc_test.go-77-} ############################################## golang-golang-x-tools-0.0~git20201121.780cb80+ds/.pc/0005-Do_not_depend_on_golang-doc.patch/cmd/godoc/godoc_test.go-75- defer ln.Close() golang-golang-x-tools-0.0~git20201121.780cb80+ds/.pc/0005-Do_not_depend_on_golang-doc.patch/cmd/godoc/godoc_test.go:76: return ln.Addr().String() golang-golang-x-tools-0.0~git20201121.780cb80+ds/.pc/0005-Do_not_depend_on_golang-doc.patch/cmd/godoc/godoc_test.go-77-}