Thread overview
[Issue 16022] [REG2.069] dmd assertion failure due to misplaced comma operator
May 13, 2016
ag0aep6g@gmail.com
May 13, 2016
Kenji Hara
May 13, 2016
https://issues.dlang.org/show_bug.cgi?id=16022

ag0aep6g@gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice
                 CC|                            |ag0aep6g@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@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.

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

Kenji Hara <k.hara.pg@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull

--- Comment #2 from Kenji Hara <k.hara.pg@gmail.com> ---
https://github.com/dlang/dmd/pull/5774

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

--- Comment #3 from github-bugzilla@puremagic.com ---
Commits pushed to stable at https://github.com/dlang/dmd

https://github.com/dlang/dmd/commit/dd3e980ca418b15d0e508ed3506276040f71e774 fix Issue 16022 - dmd assertion failure due to misplaced comma operator

https://github.com/dlang/dmd/commit/35190b070e3dee5ba0ba07533a0a9f476b20ffa4 Merge pull request #5774 from 9rnsr/fix16022

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

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

github-bugzilla@puremagic.com changed:

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

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

--- Comment #4 from github-bugzilla@puremagic.com ---
Commits pushed to master at https://github.com/dlang/dmd

https://github.com/dlang/dmd/commit/dd3e980ca418b15d0e508ed3506276040f71e774 fix Issue 16022 - dmd assertion failure due to misplaced comma operator

https://github.com/dlang/dmd/commit/35190b070e3dee5ba0ba07533a0a9f476b20ffa4 Merge pull request #5774 from 9rnsr/fix16022

--
November 20, 2017
https://issues.dlang.org/show_bug.cgi?id=16022

--- Comment #5 from github-bugzilla@puremagic.com ---
Commits pushed to master at https://github.com/dlang/dmd

https://github.com/dlang/dmd/commit/64980c29006945d9b0a5abbe096edd2c92913584 Issue 16022 - assertion failure due to misplaced comma operator (additional test)

https://github.com/dlang/dmd/commit/f6c2fbf2925326f47809eda4a999b8722d12d547 Merge pull request #7338 from JinShil/fix_16022

Issue 16022 - assertion failure due to misplaced comma operator (additional
test)
merged-on-behalf-of: Iain Buclaw <ibuclaw@gdcproject.org>

--
December 18, 2017
https://issues.dlang.org/show_bug.cgi?id=16022

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

https://github.com/dlang/dmd/commit/64980c29006945d9b0a5abbe096edd2c92913584 Issue 16022 - assertion failure due to misplaced comma operator (additional test)

https://github.com/dlang/dmd/commit/f6c2fbf2925326f47809eda4a999b8722d12d547 Merge pull request #7338 from JinShil/fix_16022

--