0
1
mirror of https://github.com/golang/go synced 2025-05-05 03:21:36 +00:00

[dev.typeparams] all: merge dev.regabi into dev.typeparams

The files below had conflicts that required manual resolution.
The unresolved conflict in noder.go was just in the import
declaration (trivial). All the other conflicts are in tests
where the ERROR regex patterns changed to accomodate gccgo
error messages (incoming from dev.regabi), and to accomodate
types2 in dev.typeparams. They were resolved by accepting the
dev.regabi changes (so as not to lose them) and then by re-
applying whatever changes needed to make them pass with types2.
Finally, the new test mainsig.go was excluded from run.go when
using types2 due to issue .

	src/cmd/compile/internal/gc/noder.go
	test/fixedbugs/bug13343.go
	test/fixedbugs/bug462.go
	test/fixedbugs/issue10975.go
	test/fixedbugs/issue11326.go
	test/fixedbugs/issue11361.go
	test/fixedbugs/issue11371.go
	test/fixedbugs/issue11674.go
	test/fixedbugs/issue13365.go
	test/fixedbugs/issue13471.go
	test/fixedbugs/issue14136.go
	test/fixedbugs/issue14321.go
	test/fixedbugs/issue14729.go
	test/fixedbugs/issue15898.go
	test/fixedbugs/issue16439.go
	test/fixedbugs/issue17588.go
	test/fixedbugs/issue19323.go
	test/fixedbugs/issue19482.go
	test/fixedbugs/issue19880.go
	test/fixedbugs/issue20185.go
	test/fixedbugs/issue20227.go
	test/fixedbugs/issue20415.go
	test/fixedbugs/issue20749.go
	test/fixedbugs/issue22794.go
	test/fixedbugs/issue22822.go
	test/fixedbugs/issue22921.go
	test/fixedbugs/issue23823.go
	test/fixedbugs/issue25727.go
	test/fixedbugs/issue26616.go
	test/fixedbugs/issue28079c.go
	test/fixedbugs/issue28450.go
	test/fixedbugs/issue30085.go
	test/fixedbugs/issue30087.go
	test/fixedbugs/issue35291.go
	test/fixedbugs/issue38745.go
	test/fixedbugs/issue41247.go
	test/fixedbugs/issue41440.go
	test/fixedbugs/issue41500.go
	test/fixedbugs/issue4215.go
	test/fixedbugs/issue6402.go
	test/fixedbugs/issue6772.go
	test/fixedbugs/issue7129.go
	test/fixedbugs/issue7150.go
	test/fixedbugs/issue7153.go
	test/fixedbugs/issue7310.go
	test/fixedbugs/issue8183.go
	test/fixedbugs/issue8385.go
	test/fixedbugs/issue8438.go
	test/fixedbugs/issue8440.go
	test/fixedbugs/issue8507.go
	test/fixedbugs/issue9370.go
	test/fixedbugs/issue9521.go

Change-Id: I26e6e326fde6e3fca5400711a253834d710ab7f4
This commit is contained in:
Robert Griesemer
2020-12-21 13:41:23 -08:00
327 changed files with 6195 additions and 4618 deletions
api
doc
src
cmd
crypto
database
debug
embed
go.modgo.sum
go
html
io
math
net
os
runtime
syscall
text
vendor
test
escape_param.go
fixedbugs
bug13343.gobug195.gobug251.gobug302.gobug369.gobug429.gobug429_run.gobug462.goissue10607.go
issue10700.dir
issue10975.goissue11326.goissue11326b.goissue11361.goissue11362.goissue11371.goissue11590.goissue11610.goissue11614.goissue11656.goissue11674.goissue11771.goissue13248.goissue13266.goissue13268.goissue13273.goissue13274.goissue13365.goissue13415.goissue13471.goissue13821b.goissue14006.goissue14010.goissue14136.goissue14321.goissue14520.goissue14636.goissue14652.goissue14729.go
issue15514.dir
issue15898.goissue16037_run.goissue16439.goissue17328.goissue17588.goissue17631.goissue17645.goissue17758.goissue18092.goissue18231.goissue18393.go
issue18419.dir
issue18655.goissue18915.goissue19012.go
issue19028.dir
issue19056.goissue19323.goissue19482.goissue19658.goissue19667.goissue19880.goissue19977.goissue20185.goissue20227.goissue20415.goissue20529.goissue20602.goissue20749.goissue20780.goissue20812.goissue20813.goissue21256.goissue21273.goissue21317.goissue21576.goissue21979.goissue21988.goissue22063.goissue22200.goissue22200b.goissue22660.goissue22662b.goissue22794.goissue22822.goissue22904.goissue22921.goissue23093.goissue23732.goissue23823.goissue24339.goissue25507.goissue25727.goissue25958.goissue26616.goissue26855.goissue27356.goissue27938.goissue28079b.goissue28079c.goissue28268.goissue28450.goissue28926.goissue29855.goissue29870b.goissue30085.goissue30087.goissue30722.goissue32723.goissue33275_run.goissue33308.goissue33386.goissue33460.goissue33555.goissue35291.goissue36437.goissue38745.goissue41247.goissue41440.goissue41500.goissue41575.goissue42058a.goissue42058b.goissue4215.goissue43111.goissue43112.go
issue43164.dir
issue43164.goissue43167.goissue43292.goissue6402.goissue6403.goissue6428.goissue6772.goissue6889.goissue6964.goissue7129.goissue7150.goissue7153.goissue7310.goissue7538a.goissue7675.goissue7746.goissue7760.goissue8183.goissue8311.goissue8385.goissue8438.goissue8440.goissue8507.goissue9036.goissue9076.goissue9083.goissue9355.goissue9370.goissue9521.goissue9862_run.go
linkobj.golinkx_run.gomainsig.gonosplit.gorun.gosinit_run.go

@ -9,13 +9,13 @@ package main
import "net/http"
var s = http.Server{}
var _ = s.doneChan // ERROR "s.doneChan undefined .cannot refer to unexported field or method doneChan.$|s.doneChan undefined"
var _ = s.DoneChan // ERROR "s.DoneChan undefined .type http.Server has no field or method DoneChan.$"
var _ = http.Server{tlsConfig: nil} // ERROR "unknown field 'tlsConfig' in struct literal.+ .but does have TLSConfig.$|unknown field 'tlsConfig'"
var _ = http.Server{DoneChan: nil} // ERROR "unknown field 'DoneChan' in struct literal of type http.Server$"
var _ = s.doneChan // ERROR "s.doneChan undefined .cannot refer to unexported field or method doneChan.$|unexported field or method|s.doneChan undefined"
var _ = s.DoneChan // ERROR "s.DoneChan undefined .type http.Server has no field or method DoneChan.$|undefined field or method"
var _ = http.Server{tlsConfig: nil} // ERROR "unknown field 'tlsConfig' in struct literal.+ .but does have TLSConfig.$|unknown field .?tlsConfig.? in .?http.Server|unknown field"
var _ = http.Server{DoneChan: nil} // ERROR "unknown field 'DoneChan' in struct literal of type http.Server$|unknown field .?DoneChan.? in .?http.Server"
type foo struct {
bar int
}
var _ = &foo{bAr: 10} // ERROR "unknown field 'bAr' in struct literal.+ .but does have bar.$|unknown field 'bAr'"
var _ = &foo{bAr: 10} // ERROR "unknown field 'bAr' in struct literal.+ .but does have bar.$|unknown field .?bAr.? in .?foo|unknown field"