[Issue 8862] New: order of declaration of a function and compile time execution

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Oct 21 06:14:03 PDT 2012


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

           Summary: order of declaration of a function and compile time
                    execution
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: r.97all at gmail.com


--- Comment #0 from Ryuichi OHORI <r.97all at gmail.com> 2012-10-21 06:13:56 PDT ---
I think these two codes below are equivalent, but DMD outputs two lines when
compiling the first.

http://dpaste.dzfl.pl/3bcc6b95
http://dpaste.dzfl.pl/167ef2ac

I am not sure this is caused by CTFE, template mixin, something else, or some
combination of them.

-- 
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