[Issue 14957] New: order of declaration at global scope
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Mon Aug 24 09:39:52 PDT 2015
https://issues.dlang.org/show_bug.cgi?id=14957
Issue ID: 14957
Summary: order of declaration at global scope
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Severity: major
Priority: P1
Component: dmd
Assignee: nobody at puremagic.com
Reporter: john.loughran.colvin at gmail.com
enum A = 1;
enum B = C; //Error
static if(A)
enum C = 0;
enum D = C; //OK
--
More information about the Digitalmars-d-bugs
mailing list