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: [email protected]
ReportedBy: [email protected]
--- Comment #0 from Ryuichi OHORI <[email protected]> 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: -------