[Issue 17942] Enums are evaluated differently in global scope

2018-04-06 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17942

github-bugzi...@puremagic.com changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED

--


[Issue 17942] Enums are evaluated differently in global scope

2018-04-06 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17942

--- Comment #3 from github-bugzi...@puremagic.com ---
Commits pushed to master at https://github.com/dlang/dmd

https://github.com/dlang/dmd/commit/8c28783bbc6ccbef576bcc227cf6426277ef940b
fix Issue 17942 - Enums are evaluated differently in global scope

https://github.com/dlang/dmd/commit/cee0643ba4256bb1f24cbd24bb2b43435ea041a4
Merge pull request #8077 from WalterBright/fix17942

fix Issue 17942 - Enums are evaluated differently in global scope
merged-on-behalf-of: Iain Buclaw <ibuc...@gdcproject.org>

--


[Issue 17942] Enums are evaluated differently in global scope

2018-03-25 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17942

--- Comment #2 from Walter Bright  ---
https://github.com/dlang/dmd/pull/8077

--


[Issue 17942] Enums are evaluated differently in global scope

2018-03-22 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17942

Walter Bright  changed:

   What|Removed |Added

   Keywords||industry
 CC||bugzi...@digitalmars.com

--


[Issue 17942] Enums are evaluated differently in global scope

2017-10-26 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17942

ag0ae...@gmail.com changed:

   What|Removed |Added

 CC||ag0ae...@gmail.com

--- Comment #1 from ag0ae...@gmail.com ---
Reduced:


alias AliasSeq(TList...) = TList;
enum B = AliasSeq!(); // fails
void main()
{
enum A = AliasSeq!(); //works
}


--