https://issues.dlang.org/show_bug.cgi?id=16022

[email protected] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice
                 CC|                            |[email protected]
           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 [email protected] ---
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.

--

Reply via email to