mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
[dev.unified] all: merge master (993c387) into dev.unified
Conflicts: - test/run.go: textual conflict in 1.18 known failures list Merge List: + 2022-06-30993c387032os: simplify deadline fluctuation tests + 2022-06-304914e4e334cmd/go/internal/modindex: remove spurious field from index_format documentation + 2022-06-30981d5947afcmd/go: include module root in package index key + 2022-06-3084db00ffd1cmd/go: add a 'sleep' command for script tests + 2022-06-3031b8c23c57cmd/compile: fix prove pass when upper condition is <= maxint + 2022-06-3017083a2fdfspec: retitle section on "Assignments" to "Assignment statements" + 2022-06-304d95fe6653test: add regress test for #53619 + 2022-06-296a7c64fde5debug/pe: add IMAGE_FILE_MACHINE_LOONGARCH{64,32} + 2022-06-29b2cc0fecc2net/http: preserve nil values in Header.Clone + 2022-06-2964ef16e777cmd/internal/obj/arm64: save LR and SP in one instruction for small frames + 2022-06-290750107074go/token: use atomics not Mutex for last file cache + 2022-06-29e5017a93fcnet/http: don't strip whitespace from Transfer-Encoding headers + 2022-06-2920760cff00runtime: add race annotations to cbs.lock + 2022-06-29e6c0546c54crypto/x509/pkix: move crl deprecation message + 2022-06-293562977b6fcmd/internal/obj/mips,s390x,riscv: save LR after decrementing SP + 2022-06-29d6481d5b96runtime: add race annotations to metricsSema + 2022-06-29bd1783e812crypto/x509: improve RevocationList documentation + 2022-06-28160414ca6acmd/internal/obj/arm64: fix BITCON constant printing error + 2022-06-28a30f434667cmd/go: pass --no-decorate when listing git tags for a commit + 2022-06-283580ef9d64os/exec: on Windows, suppress ErrDot if the implicit path matches the explicit one + 2022-06-2834f3ac5f16cmd/compile: fix generic inter-inter comparisons from value switch statements + 2022-06-287df0a002e6cmd/go/internal/modfetch: cache latest revinfo in Versions func + 2022-06-28d5bf9604aatest: add more tests for const decls with ommitted RHS expressions + 2022-06-28533082d1a0test: add test that gofrontend failed to compile + 2022-06-2847e792e22eruntime: clean up unused function gosave on loong64 + 2022-06-28a6e5be0d30cmd/go: omit build metadata that may contain system paths when -trimpath is set + 2022-06-28d3ffff2790api: correct debug/pe issue number for Go 1.19 changes + 2022-06-28751cae8855cmd/go/internal/modload: fix doc comment + 2022-06-2885d7bab91dgo/printer: report allocs and set bytes + 2022-06-273af5280c00net: really skip Windows PTR tests if we say we are skipping them + 2022-06-27a42573c2f1net: avoid darwin/arm64 platform bug in TestCloseWrite + 2022-06-2768289f39f0html/template: fix typo in content_test.go + 2022-06-27c3bea70d9bcmd/link: link against libsynchronization.a for -race on windows + 2022-06-27f093cf90bftest: add test that caused gofrontend crash + 2022-06-27155612a9b9test: add test that caused gofrontend crash + 2022-06-27a861eee51acmd/go: compile runtime/internal/syscall as a runtime package + 2022-06-278f9bfa9b7bcrypto/internal/boring: factor Cache into crypto/internal/boring/bcache + 2022-06-26351e0f4083runtime: avoid fma in mkfastlog2table + 2022-06-26416c953960test: add test that gofrontend gets wrong + 2022-06-26666d736ecbcmd/compile: do branch/label checks only once + 2022-06-266b309be7abcmd/compile/internal/syntax: check fallthrough in CheckBranches mode + 2022-06-251821639b57runtime: mark string comparison hooks as no split + 2022-06-253b594b9255io: clarify SeekEnd offset value + 2022-06-254f45ec5963cmd/go: prepend builtin prolog when checking for preamble errors + 2022-06-2441e1d9075estrconv: avoid panic on invalid call to FormatFloat + 2022-06-24bd4753905dinternal/trace: add Go 1.19 test data + 2022-06-246b6c64b1cccmd/internal/archive: don't rely on an erroneous install target in tests Change-Id: Ib43126833bf534c311730d4283d4d25381cd3428
This commit is contained in:
commit
1b838e9556
94 changed files with 1350 additions and 443 deletions
|
|
@ -41,7 +41,7 @@ func checkFiles(noders []*noder) (posMap, *types2.Package, *types2.Info) {
|
|||
conf := types2.Config{
|
||||
Context: ctxt,
|
||||
GoVersion: base.Flag.Lang,
|
||||
IgnoreLabels: true, // parser already checked via syntax.CheckBranches mode
|
||||
IgnoreBranchErrors: true, // parser already checked via syntax.CheckBranches mode
|
||||
CompilerErrorMessages: true, // use error strings matching existing compiler errors
|
||||
Error: func(err error) {
|
||||
terr := err.(types2.Error)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue