]> Cypherpunks repositories - gostls13.git/commit
go/parser: simplify parsing of array or slice constraint types
authorRobert Findley <rfindley@google.com>
Sun, 31 Oct 2021 00:54:39 +0000 (20:54 -0400)
committerRobert Findley <rfindley@google.com>
Sun, 31 Oct 2021 15:36:50 +0000 (15:36 +0000)
commit243c5ae019bab96caf55dd443a0ecd128f079d9c
tree1b014f6ef1c7d3d243153d6cc1c91ed61a9bd80f
parent8e3d5f0bb324eebb92cc93264a63afa7ded9ab9a
go/parser: simplify parsing of array or slice constraint types

Simplify the parsing of array or slice constraint types added in CL
359134, following the port in CL 360135.

Change-Id: Ia86d4b0149a222423d3b19623dd39d4aeb23857d
Reviewed-on: https://go-review.googlesource.com/c/go/+/360115
Trust: Robert Findley <rfindley@google.com>
Run-TryBot: Robert Findley <rfindley@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Robert Griesemer <gri@golang.org>
src/go/parser/parser.go