[Issue 3605] Compiler accepts invalid variable declaration, which does not link

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Dec 11 04:15:08 PST 2009


http://d.puremagic.com/issues/show_bug.cgi?id=3605



--- Comment #4 from Michal Minich <michal.minich at gmail.com> 2009-12-11 04:15:06 PST ---
Thank you for explanation Lars,

It did not occurred to me that "int i();" can be function declaration. Maybe if
such declaration required extern(D) attribute, it would be more clear what's
going on. I cannot imagine what is this feature intended to do… Maybe it has
some use in connection with .di files…

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list