mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
doc/next/6-stdlib/99-minor/go/ast/76031.md: add BasicLit caveat
For #76395 Change-Id: Ied054b54f319a2a448ccdfa4b42044250abb5af7 Reviewed-on: https://go-review.googlesource.com/c/go/+/722820 Reviewed-by: Dmitri Shuralyov <dmitshur@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
This commit is contained in:
parent
fa30b68767
commit
6e72f526cd
1 changed files with 4 additions and 0 deletions
|
|
@ -3,3 +3,7 @@ a literal so that the [BasicLit.End] method can now always return the
|
|||
correct answer. (Previously it was computed using a heuristic that was
|
||||
incorrect for multi-line raw string literals in Windows source files,
|
||||
due to removal of carriage returns.)
|
||||
|
||||
Programs that update the `ValuePos` field of `BasicLit`s produced by
|
||||
the parser may need to also update or clear the `ValueEnd` field to
|
||||
avoid minor differences in formatted output. <!-- #76395 --->
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue