diff options
| author | Robert Griesemer <gri@golang.org> | 2021-10-30 10:50:59 -0700 |
|---|---|---|
| committer | Robert Griesemer <gri@golang.org> | 2021-10-31 02:24:29 +0000 |
| commit | 0bef30d28ac0b9654e5daef0fef731d7a9495214 (patch) | |
| tree | abf5ccd909508aee315df0884d758487e659b50a /src/bytes | |
| parent | 6113dacf32db7a996bc53fa7ca0db314cd3e7378 (diff) | |
| download | go-0bef30d28ac0b9654e5daef0fef731d7a9495214.tar.xz | |
cmd/compile/internal/syntax: fix parsing of array or slice constraint types
This is a port of the idea used in CL 359134 from go/parser to syntax,
with adjustments due to the slightly different structure of the two
parsers, and some refactoring to simplify the logic.
Fixes #49175.
Change-Id: Ib4955bde708f2b08345f35523e6094c03ab3076c
Reviewed-on: https://go-review.googlesource.com/c/go/+/360135
Trust: Robert Griesemer <gri@golang.org>
Run-TryBot: Robert Griesemer <gri@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Robert Findley <rfindley@google.com>
Diffstat (limited to 'src/bytes')
0 files changed, 0 insertions, 0 deletions
