Commit 0287d8ed authored by Robert Griesemer's avatar Robert Griesemer
Browse files

go/types: collect type info for type ...T in variadic functions

Because the code type-checks T rather than ...T (and then corrects
the type to []T "manually"), it didn't automatically record the
type for the ast.Expr corresponding to ...T. Do it manually.

Fixes #28277.

Change-Id: I3d9aae310c90b01f52d189e70c48dd9007f72207
Reviewed-on: https://go-review.googlesource.com/c/143317


Reviewed-by: default avatarAlan Donovan <adonovan@google.com>
parent 41c0b9eb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment