Thread overview
[Issue 17942] Enums are evaluated differently in global scope
Oct 26, 2017
ag0aep6g@gmail.com
Mar 23, 2018
Walter Bright
Mar 25, 2018
Walter Bright
October 26, 2017
https://issues.dlang.org/show_bug.cgi?id=17942

ag0aep6g@gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ag0aep6g@gmail.com

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

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

--
March 23, 2018
https://issues.dlang.org/show_bug.cgi?id=17942

Walter Bright <bugzilla@digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |industry
                 CC|                            |bugzilla@digitalmars.com

--
March 25, 2018
https://issues.dlang.org/show_bug.cgi?id=17942

--- Comment #2 from Walter Bright <bugzilla@digitalmars.com> ---
https://github.com/dlang/dmd/pull/8077

--
April 06, 2018
https://issues.dlang.org/show_bug.cgi?id=17942

--- Comment #3 from github-bugzilla@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 <ibuclaw@gdcproject.org>

--
April 06, 2018
https://issues.dlang.org/show_bug.cgi?id=17942

github-bugzilla@puremagic.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--