digitalmars.D.bugs - [Issue 4699] New: Functions in peer scopes cannot have the same name
- d-bugmail puremagic.com (25/25) Aug 21 2010 http://d.puremagic.com/issues/show_bug.cgi?id=4699
http://d.puremagic.com/issues/show_bug.cgi?id=4699
Summary: Functions in peer scopes cannot have the same name
Product: D
Version: D2
Platform: x86
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: DMD
AssignedTo: nobody puremagic.com
ReportedBy: wayo.cavazos gmail.com
00:19:59 PDT ---
This program produces an error:
void main ()
{
{ int f0 () { return 10 ; } }
{ int f0 () { return 20 ; } }
}
$ rdmd test_scope_a.d
test_scope_a.d(6): Error: declaration f0 is already defined in another scope in
main
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Aug 21 2010








d-bugmail puremagic.com