[Issue 8862] order of declaration of a function and compile time execution
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sun Oct 21 06:47:26 PDT 2012
http://d.puremagic.com/issues/show_bug.cgi?id=8862
--- Comment #2 from Ryuichi OHORI <r.97all at gmail.com> 2012-10-21 06:47:20 PDT ---
(In reply to comment #1)
> Reduced test case. The line of initialization of the 'b' variable matters.
> If it's defined after bar() it compiles, otherwise it doesn't compile:
Thanks, but the behavior you reproduced seems different from mine.
In my case, both compiles while the first outputs error-like messages.
--
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