[Issue 16022] [REG2.069] dmd assertion failure due to misplaced comma operator

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Fri May 13 11:50:30 PDT 2016


ag0aep6g at gmail.com changed:

           What    |Removed                     |Added
           Keywords|                            |ice
                 CC|                            |ag0aep6g at gmail.com
           Hardware|x86                         |All
            Summary|dmd assertion failure due   |[REG2.069] dmd assertion
                   |to misplaced comma operator |failure due to misplaced
                   |                            |comma operator
                 OS|Mac OS X                    |All
           Severity|major                       |regression

--- Comment #1 from ag0aep6g at gmail.com ---
Complete test case:
enum Type {Colon, Comma}
Type type;

bool foo()
    return type == Type.Colon, type == Type.Comma;

Compiles with 2.068. Fails with ICE since 2.069.


More information about the Digitalmars-d-bugs mailing list