]> Cypherpunks repositories - gostls13.git/commit
spec: clean up intro and replace bolded text with prose
authorRobert Griesemer <gri@golang.org>
Thu, 10 Mar 2022 02:36:53 +0000 (18:36 -0800)
committerRobert Griesemer <gri@golang.org>
Fri, 11 Mar 2022 06:00:14 +0000 (06:00 +0000)
commit59d80227effa3027a37b1aa85eef88d1df7b1e81
tree1feaa7423d0660ca270aecf85b018f25c8e21925
parent751b8798dd3a0b099ec403bafae0d48d5c5fae8c
spec: clean up intro and replace bolded text with prose

- Remove "Draft" disclaimer. We're not done but the spec
  is in usable shape with respect to generics features.

- Remove section on "Earlier version" and fold information
  into the "Intro" section.

- Remove caveat for shifts: the rules for arithmetic operators
  on type parameters apply for them as well.

- Simply state that we don't support arguments of type parameter
  type for the built-ins real, imag, and complex.

Fixes #51182.

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