PR go/61308
commitc7e4fe20c05fa61a5d3319e4793cf50dfde86090
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 5 Aug 2014 03:11:17 +0000 (5 03:11 +0000)
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 5 Aug 2014 03:11:17 +0000 (5 03:11 +0000)
tree915b12a29efd7e317841857d2c7277c76f9f8f91
parentd9f3743a4d70e755a81c2782f7b1d847c4e7fa1b
PR go/61308

compiler: Handle enclosing vars for function type in function lit.

This fixes a dumb bug in which the enclosing vars were
incorrectly cleared when a function literal contains a
reference to a function type.  The test for this will go into
the master repository in the change at
http://codereview.appspot.com/121200043 .

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