1
0
mirror of https://github.com/golang/go synced 2024-11-24 21:10:04 -07:00
go/test
Daniel Morsing 280c8b90e2 cmd/gc: make method names for function scoped types unique
Types in function scope can have methods on them if they embed another type, but we didn't make the name unique, meaning that 2 identically named types in different functions would conflict with eachother.

Fixes #6269.

R=golang-dev, bradfitz
CC=golang-dev
https://golang.org/cl/13326045
2013-08-29 16:48:44 +02:00
..
bench
bugs
chan
ddd2.dir
dwarf
fixedbugs cmd/gc: make method names for function scoped types unique 2013-08-29 16:48:44 +02:00
import2.dir
import4.dir
interface cmd/gc: don't attempt to generate wrappers for blank interface methods 2013-08-19 11:53:34 +10:00
ken
method4.dir
safe
stress
syntax test: fix build 2013-08-19 12:05:33 +10:00
64bit.go
235.go
alias1.go
alias.go
append.go
args.go
assign1.go
assign.go
bigalg.go
bigmap.go
blank1.go
blank.go
bom.go
bombad.go
bounds.go
chancap.go
char_lit1.go
char_lit.go
closedchan.go
closure.go
cmp6.go
cmp.go
cmplx.go
cmplxdivide1.go
cmplxdivide.c
cmplxdivide.go
complit1.go
complit.go
compos.go
const1.go
const2.go
const3.go
const4.go
const5.go
const6.go
const.go
convert1.go
convert3.go
convert.go
convlit1.go
convlit.go
convT2X.go
copy.go
crlf.go
ddd1.go
ddd2.go
ddd.go
decl.go
declbad.go
defer.go
deferfin.go
deferprint.go
deferprint.out
divide.go
empty.go
env.go
eof1.go
eof.go
errchk
escape2.go
escape3.go
escape4.go
escape5.go cmd/gc: move large stack variables to heap 2013-08-08 13:46:30 -04:00
escape.go
float_lit.go
floatcmp.go
for.go
func1.go
func2.go
func3.go
func4.go
func5.go
func6.go
func7.go
func8.go
func.go
funcdup2.go
funcdup.go
gc1.go
gc2.go
gc.go
golden.out
goprint.go
goprint.out
goto.go
helloworld.go
helloworld.out
if.go
import1.go
import2.go
import4.go
import5.go
import.go
index0.go
index1.go
index2.go
index.go
indirect1.go
indirect.go
init1.go
init.go
initcomma.go
initialize.go
initializerr.go
int_lit.go
intcvt.go
iota.go
label1.go
label.go
linkx.go
literal.go
mallocfin.go
map1.go
map.go
mapnan.go
method1.go
method2.go cmd/gc: fix method values whose receiver is an unnamed interface. 2013-08-29 10:00:58 +02:00
method3.go
method4.go
method5.go
method.go
named1.go
named.go
nil.go
nilcheck.go cmd/gc: &x panics if x does 2013-08-15 14:38:32 -04:00
nilptr2.go test: exit non-zero on error from nilptr2.go. 2013-08-19 17:50:22 -04:00
nilptr.go
nul1.go
parentype.go
peano.go
printbig.go
printbig.out
range.go
recover1.go
recover2.go
recover3.go tests: remove two misuses of nil pointers 2013-08-15 11:51:04 -04:00
recover.go
rename1.go
rename.go
reorder2.go
reorder.go
return.go test: add cases to return.go that gccgo got wrong 2013-08-07 11:31:01 -07:00
rotate0.go
rotate1.go
rotate2.go
rotate3.go
rotate.go
run
run.go test/run: process build tags like go/build 2013-08-13 12:25:41 -04:00
rune.go
runtime.go
shift1.go
shift2.go
sieve.go
sigchld.go
sigchld.out
simassign.go
sinit.go
sizeof.go
slice3.go
slice3err.go test: fix build 2013-08-19 12:05:33 +10:00
solitaire.go
stack.go
string_lit.go
stringrange.go
struct0.go
switch3.go
switch4.go
switch.go
testlib test/run: process build tags like go/build 2013-08-13 12:25:41 -04:00
torture.go
turing.go
typecheck.go
typeswitch1.go
typeswitch2.go
typeswitch3.go
typeswitch.go
undef.go
utf.go
varerr.go
varinit.go
zerodivide.go