mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
[dev.typeparams] all: merge master (8212707) into dev.typeparams
Conflicts: - src/go/internal/gcimporter/iimport.go CL 325429 and CL 319931 made unrelated changes to adjacent lines Merge List: + 2021-06-078212707871crypto/elliptic: update P-521 docs to say it's constant-time + 2021-06-077406180012fmt: split package documentation into more sections + 2021-06-07e3176bbc3ecrypto/tls: fix typo in Config.NextProtos docs + 2021-06-05e1fa26026dspec: improve wording consistency by eliminating "specifier" + 2021-06-05f490134126spec: improve wording by choosing an official term "keyword" + 2021-06-05e3cb381704go/internal/gcimporter: don't waste CPU copying bytes in `io.ReadAll` + 2021-06-059d669ed47amisc/cgo/errors: use expected column numbers + 2021-06-0495939e8de7cmd/compile/internal/abi: fix typo in comment + 2021-06-04831f9376d8net/http: fix ResponseWriter.ReadFrom with short reads + 2021-06-043a9d906edcos: avoid finalizer race in windows process object + 2021-06-04105c5b50e0os: terminate windows processes via handle directly + 2021-06-0479cd407f88syscall: regenerate zsyscall_windows.go + 2021-06-04c6b6211229doc/go1.17: document testing changes for Go 1.17 + 2021-06-040214440075syscall: do not pass console handles to PROC_THREAD_ATTRIBUTE_HANDLE_LIST on Windows 7 + 2021-06-04962d5c997acmd/compile,go/types: restrict use of unsafe.{Add,Slice} to go1.17 or newer + 2021-06-04b29b123e07cmd/compile: remove spurious ir.Dump + 2021-06-036d98301114cmd/link: use correct alignment in PE DWARF sections + 2021-06-03e0d029f758runtime: avoid gp.lockedm race in exitsyscall0 + 2021-06-02dd7ba3ba2cnet: don't rely on system hosts in TestCVE202133195 + 2021-06-024f572d7076io/fs: minor corrections to Sub docs + 2021-06-02e11d14225cdoc/go1.17: remove runtime section + 2021-06-026e189afd3edoc/go1.17: mention SYS_WAIT6/WEXITED on NetBSD + 2021-06-02ff9f5fb859cmd/link: recognize clang linker error in testCGOLTO + 2021-06-021c6a2ea2eadoc/go1.17: document time changes for Go1.17 + 2021-06-02d743e67e06doc/go1.17: document flag changes for Go 1.17 + 2021-06-02dc8f87b749runtime/internal/sys: generate //go:build lines in gengoos.go + 2021-06-0284c0e5d47fcmd/link: move issue 43830 tests out of TestScript + 2021-06-02cae68700ccruntime: fix formatting + 2021-06-01567ee865f6cmd/go: add declaration to cgo_lto_issue43830 test + 2021-06-0124e9707cbfcmd/link, cmd/cgo: support -flto in CFLAGS Change-Id: I9ef88e7de0f8b1841ed9604b613b41672df67e71
This commit is contained in:
commit
0e39cdc0e9
33 changed files with 525 additions and 169 deletions
|
|
@ -886,9 +886,6 @@ func (p *noder) typeExpr(typ syntax.Expr) ir.Ntype {
|
|||
if n == nil {
|
||||
return nil
|
||||
}
|
||||
if _, ok := n.(ir.Ntype); !ok {
|
||||
ir.Dump("NOT NTYPE", n)
|
||||
}
|
||||
return n.(ir.Ntype)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue