]> Cypherpunks repositories - gostls13.git/commit
spec: add type parameter types
authorRobert Griesemer <gri@golang.org>
Thu, 18 Nov 2021 23:33:19 +0000 (15:33 -0800)
committerRobert Griesemer <gri@golang.org>
Mon, 22 Nov 2021 03:24:07 +0000 (03:24 +0000)
commita287c4aa38c9c71f823a0c366871f7f4452a602c
tree774de9785ff434e8180480c7290926f8a1bbecd6
parent0c3b4a358ad6813d6aad111d0d0c45dce84cbeec
spec: add type parameter types

- add section on type parameters
- added two sections on the scope of type parameters
- expanded general section on types accordingly
- introduced the notion of a named type which will
  help in simplifying various rules (subsequent CLs)

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