mirror of https://github.com/golang/go.git
doc/go1.18: explain changes to compiler error messages
For #47694. For #50954. Change-Id: I3789e145d64025fe2bf787fa5d01a21832903586 Reviewed-on: https://go-review.googlesource.com/c/go/+/381968 Trust: Robert Griesemer <gri@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org>
This commit is contained in:
parent
125c5a3d69
commit
a42bbf47d6
|
|
@ -443,6 +443,14 @@ Do not send CLs removing the interior tags from such phrases.
|
||||||
new <code>go</code> command <code>-asan</code> option.
|
new <code>go</code> command <code>-asan</code> option.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
|
<p><!-- https://golang.org/issue/50954 -->
|
||||||
|
Because the compiler's type checker was replaced in its entirety to
|
||||||
|
support generics, some error messages now may use different wording
|
||||||
|
than before. In some cases, pre-Go 1.18 error messages provided more
|
||||||
|
detail or were phrased in a more helpful way.
|
||||||
|
We intend to address these cases in Go 1.19.
|
||||||
|
</p>
|
||||||
|
|
||||||
<p> <!-- https://github.com/golang/go/issues/49569 -->
|
<p> <!-- https://github.com/golang/go/issues/49569 -->
|
||||||
Because of changes in the compiler related to supporting generics, the
|
Because of changes in the compiler related to supporting generics, the
|
||||||
Go 1.18 compile speed can be roughly 15% slower than the Go 1.17 compile speed.
|
Go 1.18 compile speed can be roughly 15% slower than the Go 1.17 compile speed.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue