Thread overview
[Issue 16100] [REG 2.069] Error with -O of struct enumeration value and comma operator
[Issue 16100] Error with -O of struct enumeration value and comma operator
May 30, 2016
Johan Engelen
May 31, 2016
David Nadlinger
May 31, 2016
David Nadlinger
Oct 08, 2017
Walter Bright
Oct 08, 2017
Walter Bright
May 30, 2016
https://issues.dlang.org/show_bug.cgi?id=16100

--- Comment #1 from Johan Engelen <jbc.engelen@gmail.com> ---
Also fails with DMD 2.068.2.
(important: "-O" must be used, without "-O" it works)

--
May 31, 2016
https://issues.dlang.org/show_bug.cgi?id=16100

David Nadlinger <code@klickverbot.at> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |code@klickverbot.at
            Summary|Error with -O of struct     |[REG 2.069] Error with -O
                   |enumeration value and comma |of struct enumeration value
                   |operator                    |and comma operator
           Severity|normal                      |regression

--
May 31, 2016
https://issues.dlang.org/show_bug.cgi?id=16100

--- Comment #2 from David Nadlinger <code@klickverbot.at> ---
It seems that versions prior to 2.069 at least statically rejected the code. Even though this was probably in error, it's still better than an ICE, so marking as regression.

--
October 08, 2017
https://issues.dlang.org/show_bug.cgi?id=16100

Walter Bright <bugzilla@digitalmars.com> changed:

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

--- Comment #3 from Walter Bright <bugzilla@digitalmars.com> ---
I cannot reproduce this problem.

--
October 08, 2017
https://issues.dlang.org/show_bug.cgi?id=16100

Walter Bright <bugzilla@digitalmars.com> changed:

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

--