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

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Oct 22 07:39:59 PDT 2012


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


Don <clugdbug at yahoo.com.au> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |clugdbug at yahoo.com.au


--- Comment #5 from Don <clugdbug at yahoo.com.au> 2012-10-22 07:39:56 PDT ---
The difference is simply that bearophile's case is using git head. The
"circular dependency" message was missing from previous compiler releases.

This situation is actually a bit strange. It's using sequential semantics, as
if it were in a function body, rather than the out-of-order semantics it would
have in a struct. This isn't actually a CTFE bug - it should be possible to
reproduce this bug without using CTFE.

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