compiler: adjust closure field indexes
commit6893186fcc6ee5a20d910bd0667ff738d83cfcd5
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 16 Jul 2013 22:45:24 +0000 (16 22:45 +0000)
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 16 Jul 2013 22:45:24 +0000 (16 22:45 +0000)
tree97bfb976d8f61583a6091ff5ad3fb7a2b672941c
parent8e5b1909bed317e6a82c10eb7d517ebd6c6686b4
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@200990 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/go/gofrontend/gogo.cc