Thread overview
[Issue 14375] static assert leads to __traits(allMembers) retuning an extra empty entry
Mar 30, 2015
Richard Cattermole
Mar 30, 2015
Ketmar Dark
March 30, 2015
https://issues.dlang.org/show_bug.cgi?id=14375

Richard Cattermole <alphaglosined@gmail.com> changed:

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

--- Comment #1 from Richard Cattermole <alphaglosined@gmail.com> ---
The fix for this is very simple.

https://github.com/rikkimax/dmd/blob/master/src/traits.c#L875

It is untested but it is there.
Ironically this has been as a PR since before 2.066.

https://github.com/D-Programming-Language/dmd/pull/3921

I've tested it on a built executable locally with that PR added. Works fine.

--
March 30, 2015
https://issues.dlang.org/show_bug.cgi?id=14375

--- Comment #2 from Ketmar Dark <ketmar@ketmar.no-ip.org> ---
i'm using 3921 PR for a long time in my DMD branch, and i can ack that it is working without any noticeable troubles.

--
April 11, 2015
https://issues.dlang.org/show_bug.cgi?id=14375

--- Comment #3 from github-bugzilla@puremagic.com ---
Commits pushed to master at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/2dfede5829685a97e58f7d32f1d3b6448b4969e4
Fix issue 14375 - static assert leads to __traits(allMembers) retuning an extra
empty entry

https://github.com/D-Programming-Language/dmd/commit/714d1b32cfe721e6266ebbc096355c8ce109f8b8 Merge pull request #4578 from Geod24/fix-14375

Fix issue 14375 - static assert leads to __traits(allMembers) retuning an extra
empty entry

--
April 11, 2015
https://issues.dlang.org/show_bug.cgi?id=14375

github-bugzilla@puremagic.com changed:

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

--
April 23, 2015
https://issues.dlang.org/show_bug.cgi?id=14375

--- Comment #4 from github-bugzilla@puremagic.com ---
Commit pushed to stable at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/bbe9fd2bd561d2b1c72f246d30fd1d9681d8dfe1
Fix issue 14375 - static assert leads to __traits(allMembers) retuning an extra
empty entry

--
April 26, 2015
https://issues.dlang.org/show_bug.cgi?id=14375

--- Comment #5 from github-bugzilla@puremagic.com ---
Commit pushed to master at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/bbe9fd2bd561d2b1c72f246d30fd1d9681d8dfe1
Fix issue 14375 - static assert leads to __traits(allMembers) retuning an extra
empty entry

--
June 17, 2015
https://issues.dlang.org/show_bug.cgi?id=14375

--- Comment #6 from github-bugzilla@puremagic.com ---
Commits pushed to stable at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/2dfede5829685a97e58f7d32f1d3b6448b4969e4
Fix issue 14375 - static assert leads to __traits(allMembers) retuning an extra
empty entry

https://github.com/D-Programming-Language/dmd/commit/714d1b32cfe721e6266ebbc096355c8ce109f8b8 Merge pull request #4578 from Geod24/fix-14375

--