]> Cypherpunks repositories - gostls13.git/commit
go/types: look at underlying type of element type of composite literals with elided...
authorRobert Griesemer <gri@golang.org>
Thu, 17 Nov 2016 21:35:59 +0000 (13:35 -0800)
committerRobert Griesemer <gri@golang.org>
Fri, 18 Nov 2016 00:21:12 +0000 (00:21 +0000)
commite54662dc859f65f90eefede76a6134f8d892cc77
tree07768c60652c0f661a223cc7687515c16c3aec8b
parentb21743c6d0484a6912d1a4ee20905c7b9b578ed8
go/types: look at underlying type of element type of composite literals with elided types

Match behavior of gc and gccgo.

For #17954.

Change-Id: I3f065e56d0a623bd7642c1438d0cab94d23fa2ae
Reviewed-on: https://go-review.googlesource.com/33358
Reviewed-by: Matthew Dempsky <mdempsky@google.com>
src/go/types/expr.go
src/go/types/testdata/expr3.src