go/api/next
Robert Griesemer 30de0b5ef4 go/types, types2: implement Alias proposal (export API)
This CL exports the previously unexported Alias type and
corresponding functions and methods per issue #63223.

Whether Alias types are used or not is controlled by
the gotypesalias setting with the GODEBUG environment
variable. Setting gotypesalias to "1" enables the Alias
types:

	GODEBUG=gotypesalias=1

By default, gotypesalias is not set.

Adjust test cases that enable/disable the use of Alias
types to use -gotypesalias=1 or -gotypesalias=0 rather
than -alias and -alias=false for consistency and to
avoid confusion.

For #63223.

Change-Id: I51308cad3320981afac97dd8c6f6a416fdb0be55
Reviewed-on: https://go-review.googlesource.com/c/go/+/541737
Run-TryBot: Robert Griesemer <gri@google.com>
Reviewed-by: Robert Findley <rfindley@google.com>
Auto-Submit: Robert Griesemer <gri@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Robert Griesemer <gri@google.com>
2023-11-13 20:18:45 +00:00
..
50102.txt archive/tar: add FileInfoNames interface 2023-08-07 00:25:25 +00:00
51246.txt syscall: add support to get pidfd from ForkExec on Linux 2023-09-07 19:11:15 +00:00
51971.txt net/http: add ServeFileFS, FileServerFS, NewFileTransportFS 2023-08-07 17:07:12 +00:00
53693.txt encoding: add AppendEncode and AppendDecode 2023-08-17 16:23:42 +00:00
54898.txt archive/zip: add AddFS method to zip Writer 2023-07-31 18:10:41 +00:00
56353.txt slices: add Concat 2023-08-08 14:31:39 +00:00
57178.txt crypto/x509: implement AddCertWithConstraint 2023-11-09 19:41:40 +00:00
58000.txt archive/tar: add AddFS method to Writer 2023-09-13 13:59:01 +00:00
59599.txt reflect: deprecate PtrTo 2023-07-27 23:28:51 +00:00
60061.txt go/ast: add Unparen(Expr) helper 2023-07-20 20:19:51 +00:00
60088.txt reflect: add TypeFor 2023-07-31 15:50:15 +00:00
60204.txt cmp: add Or 2023-09-25 14:30:20 +00:00
60370.txt database/sql: add Null[T] 2023-08-07 14:26:37 +00:00
60665.txt crypto/x509: add new OID type and use it in Certificate 2023-10-31 19:22:19 +00:00
61410.txt net/http: implement path value methods on Request 2023-09-14 00:00:28 +00:00
61619.txt html/template: support parsing complex JS template literals 2023-10-02 15:18:39 +00:00
61642.txt net/netip: add AddrPort.Compare and Prefix.Compare 2023-09-11 20:26:41 +00:00
61716.txt math/rand/v2: delete Mitchell/Reeds source 2023-10-30 17:09:26 +00:00
61758.txt testing/slogtest: add Run to run cases as subtests 2023-09-08 20:37:12 +00:00
61870.txt io: add (*SectionReader).Outer() 2023-10-09 22:04:41 +00:00
61974.txt debug/elf,cmd/link: add additional MIPS64 relocation type 2023-09-08 04:32:10 +00:00
62037.txt go/types, types2: implement Info.PkgNameOf 2023-11-11 02:02:35 +00:00
62039.txt go/version: add new package 2023-11-06 23:20:32 +00:00
62418.txt log/slog: add LogLoggerLevel to enable setting level on the default logger 2023-11-10 21:25:30 +00:00
62605.txt go/types: export Info.FileVersions 2023-11-07 16:52:44 +00:00
63223.txt go/types, types2: implement Alias proposal (export API) 2023-11-13 20:18:45 +00:00
63725.txt debug/elf,cmd/link: add additional relocations for loong64 2023-11-02 19:46:03 +00:00