compiler: adjust closure field indexes
authorIan Lance Taylor <ian@gcc.gnu.org>
Tue, 16 Jul 2013 22:45:24 +0000 (22:45 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Tue, 16 Jul 2013 22:45:24 +0000 (22:45 +0000)
commitd163afc5d442581b3c1e04700ec807a28c58f945
tree97bfb976d8f61583a6091ff5ad3fb7a2b672941c
parent7a5add18a367000a3a1056b937eac29de82cd482
compiler: adjust closure field indexes

This corrects the code that handles composite literals where
the key is a variable in an enclosing function.  See bug475.go
in the testsuite.

From-SVN: r200990
gcc/go/gofrontend/gogo.cc