[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:53:30 PDT 2012
http://d.puremagic.com/issues/show_bug.cgi?id=8862
--- Comment #3 from bearophile_hugs at eml.cc 2012-10-21 06:53:27 PDT ---
(In reply to comment #2)
> (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.
I see. Then try to minimize the code yourself. And then attach/paste it here
instead of dpaste, please.
--
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