http://d.puremagic.com/issues/show_bug.cgi?id=8723
Andrej Mitrovic changed:
What|Removed |Added
Status|NEW |RESOLVED
CC|
http://d.puremagic.com/issues/show_bug.cgi?id=8723
Maxim Fomin changed:
What|Removed |Added
Severity|normal |enhancement
--
Configure issuemail: htt
http://d.puremagic.com/issues/show_bug.cgi?id=8723
--- Comment #5 from Jonathan M Davis 2012-09-25 13:10:26
PDT ---
And why on earth would you _need_ a prototype? This isn't C. We're not forced
to declare functions higher up in a file before using them. Ideally, prototypes
wouldn't even _exist
http://d.puremagic.com/issues/show_bug.cgi?id=8723
bearophile_h...@eml.cc changed:
What|Removed |Added
CC||bearophile_h...@eml.cc
--- Com
http://d.puremagic.com/issues/show_bug.cgi?id=8723
--- Comment #2 from Maxim Fomin 2012-09-25 11:35:45 PDT
---
(In reply to comment #1)
> Why is that clearly a bug? You gave two functions with identical function
> signatures. The only time that you give function prototypes in D are when
> you'
http://d.puremagic.com/issues/show_bug.cgi?id=8723
--- Comment #3 from Maxim Fomin 2012-09-25 11:37:57 PDT
---
By the way, following code is not compiled either (for the same reason):
struct S;
struct S {}
void main()
{
}
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cg
http://d.puremagic.com/issues/show_bug.cgi?id=8723
Jonathan M Davis changed:
What|Removed |Added
CC||jmdavisp...@gmx.com
--- Comment #1