]> Cypherpunks repositories - gostls13.git/commit
spec: use "core type" rather than "structural type"
authorRobert Griesemer <gri@golang.org>
Tue, 8 Feb 2022 18:41:27 +0000 (10:41 -0800)
committerRobert Griesemer <gri@golang.org>
Wed, 9 Feb 2022 21:50:07 +0000 (21:50 +0000)
commit5d3476c3dbc5e16b680e4b5ceab49c032b1b0a83
tree8ca4786949eb0c7e72dcc7772591d4179591de73
parent9ed0d81fb5b2a7e6707010a226b72626433b83d2
spec: use "core type" rather than "structural type"

This change in terminology prevents potential confusion
that migth be caused by associating "structural type"
with "structural typing"; the two are not connected.

Also, adjusted introductory paragraph of section on
constraint type inference: type inference goes in both
directions, from type parameter to core type and vice
versa. The previous description was not quite accurate.

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