]> Cypherpunks.ru repositories - gostls13.git/commit
spec: describe constraint parsing ambiguity and work-around more precisely
authorRobert Griesemer <gri@golang.org>
Thu, 16 Dec 2021 18:25:07 +0000 (10:25 -0800)
committerRobert Griesemer <gri@golang.org>
Fri, 17 Dec 2021 03:28:06 +0000 (03:28 +0000)
commit3c495839fe6e711b9161f8efc2d1bd474bf60916
treeab810d1dcf11063d206e3b244640ec7b7aa5c3f1
parent2bdf34f3e86693264938d791a673a97011420eb2
spec: describe constraint parsing ambiguity and work-around more precisely

The new description matches the implementation (CL 370774).

Also, in the section on type constraints, use "defines" instead of
"determines" because the constraint interface defines the type set
which is precisely the set of acceptable type arguments.

For #49482.

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