Go patch committed: Error for same name for receiver and parameter

Ian Lance Taylor iant@google.com
Fri Oct 11 18:30:00 GMT 2013


This patch to the Go compiler makes it give an error if the same name is
used for a method receiver and some parameter to the method.
Bootstrapped and ran Go testsuite on x86_64-unknown-linux-gnu.
Committed to mainline.  Will commit to 4.8 branch when the branch
reopens.

Ian

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


More information about the Gcc-patches mailing list