]> Cypherpunks repositories - gostls13.git/commit
go/types: limit termlist lengths
authorRobert Findley <rfindley@google.com>
Mon, 16 Aug 2021 01:43:12 +0000 (21:43 -0400)
committerRobert Findley <rfindley@google.com>
Mon, 16 Aug 2021 14:27:31 +0000 (14:27 +0000)
commitfe489c86a7a65b6bcd25118e1a8919b9950af83f
treeec556c872e467d0dab040c61d32a3c293d995507
parentb9f135d98fe687616b1ca8f7477e72c74af72459
go/types: limit termlist lengths

This is a port of CL 340254 to go/types, with minor adjustments for
errors and positions.

Change-Id: I49ea1d1de8d6e27484f167b813267615d142d31c
Reviewed-on: https://go-review.googlesource.com/c/go/+/342438
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/types/testdata/check/unions.go2 [new file with mode: 0644]
src/go/types/typeset.go
src/go/types/typeset_test.go [new file with mode: 0644]
src/go/types/union.go