This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug go/49889] Calling a function whose name is obscured by a local variable does not produce an error
- From: "ian at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 4 Aug 2011 04:08:41 +0000
- Subject: [Bug go/49889] Calling a function whose name is obscured by a local variable does not produce an error
- Auto-submitted: auto-generated
- References: <bug-49889-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49889
--- Comment #1 from ian at gcc dot gnu.org <ian at gcc dot gnu.org> 2011-08-04 04:08:35 UTC ---
Author: ian
Date: Thu Aug 4 04:08:29 2011
New Revision: 177310
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=177310
Log:
PR go/49889
gccgo : Fixed bug 49889.
Now the compiler emits a proper error when a function
called in a tuple assignment statement can not be
typed as a function.
Modified:
trunk/gcc/go/gofrontend/expressions.cc