]> Cypherpunks repositories - gostls13.git/commit
spec: generalize method sets and interface types to type sets
authorRobert Griesemer <gri@golang.org>
Wed, 10 Nov 2021 17:44:58 +0000 (09:44 -0800)
committerRobert Griesemer <gri@golang.org>
Thu, 18 Nov 2021 06:05:29 +0000 (06:05 +0000)
commitf6647f2e3bc0b803a67c97a7d5d8733cefbd5d5b
treed5d568bb6cad12023507229c5868be694177da2e
parentd8f7a64519695f037cce8696c5c3b7216fd4a680
spec: generalize method sets and interface types to type sets

This is the first of several CLs that update the existing
Go 1.17 spec for type parameters.

This CL updates the section on method sets and interface types.
It also adds "any", "comparable" to the list of predeclared
identifiers.

Change-Id: I0ce25dc02791c33150c0d949528512610faf3eab
Reviewed-on: https://go-review.googlesource.com/c/go/+/362999
Trust: Robert Griesemer <gri@golang.org>
Run-TryBot: Robert Griesemer <gri@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
doc/go_spec.html