]> Cypherpunks repositories - gostls13.git/commit
go/types: fix make with type parameter argument
authorRobert Findley <rfindley@google.com>
Mon, 16 Aug 2021 01:20:10 +0000 (21:20 -0400)
committerRobert Findley <rfindley@google.com>
Mon, 16 Aug 2021 14:26:45 +0000 (14:26 +0000)
commitb0fba64ef47cc22bed926821704f223f89a56b42
treecee885f578d748b9f79c37fb8d7167cf64e5758c
parentefd206eb40a59e955c12653b1720026244e6c667
go/types: fix make with type parameter argument

This is a port of CL 339899 to go/types. A test assertion is adjusted
to place the 'not enough arguments' error on the ')'.

Change-Id: Ia13eccc66586f9b84a8b99d462bb406d363a3288
Reviewed-on: https://go-review.googlesource.com/c/go/+/342434
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/builtins.go
src/go/types/testdata/check/builtins.go2