Go patch committed: Fix enclosing vars for func type in func lit

Ian Lance Taylor iant@google.com
Tue Aug 5 03:11:00 GMT 2014


This patch to the Go frontend 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 has been committed to
the master repository: http://codereview.appspot.com/121200043 .  This
fixes PR 61308.  Bootstrapped and ran Go testsuite on
x86_64-unknown-linux-gnu.  Committed to mainline and 4.9 branch.

Ian

-------------- next part --------------
A non-text attachment was scrubbed...
Name: foo.patch
Type: text/x-diff
Size: 598 bytes
Desc: patch
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20140805/37f7b95c/attachment.bin>


More information about the Gcc-patches mailing list