diff options
| author | Robert Griesemer <gri@golang.org> | 2022-10-20 15:56:11 -0700 |
|---|---|---|
| committer | Gopher Robot <gobot@golang.org> | 2022-10-25 20:28:23 +0000 |
| commit | b95ea201d54953055e7d5d29cf68bb5f19f21f93 (patch) | |
| tree | b52453ec04b24df06bd6955e6781cadf8e4d969d /src/net/http | |
| parent | 2dcc9acbd27902c9e551f54ca29d2519418b45c4 (diff) | |
| download | go-b95ea201d54953055e7d5d29cf68bb5f19f21f93.tar.xz | |
cmd/compile: add support for alternative comparable semantics
Add the experimental compiler flag -altcomparable. If set, the
compiler uses alternative comparable semantics: any ordinary
(non-type parameter) interface implements the comparable
constraint.
This permits experimenting with this alternative semantics
akin to what is proposed in #52509.
For #52509.
Change-Id: I64192eee6f2a550eeb50de011079f2f0b994cf94
Reviewed-on: https://go-review.googlesource.com/c/go/+/444636
Run-TryBot: Robert Griesemer <gri@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Auto-Submit: Robert Griesemer <gri@google.com>
Reviewed-by: Robert Griesemer <gri@google.com>
Reviewed-by: Robert Findley <rfindley@google.com>
Diffstat (limited to 'src/net/http')
0 files changed, 0 insertions, 0 deletions
