Thread overview
[Issue 23172] [REG2.100] Wrong cast inserted for ternary operator and non-int enums
Jun 15, 2022
Basile-z
Jun 15, 2022
Dennis
Jun 17, 2022
Dlang Bot
Jun 18, 2022
Dlang Bot
Jul 09, 2022
Dlang Bot
June 07, 2022
https://issues.dlang.org/show_bug.cgi?id=23172

johanengelen@weka.io changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |industry, rejects-valid

--
June 15, 2022
https://issues.dlang.org/show_bug.cgi?id=23172

Basile-z <b2.temp@gmx.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |shove@163.com

--- Comment #1 from Basile-z <b2.temp@gmx.com> ---
*** Issue 23188 has been marked as a duplicate of this issue. ***

--
June 15, 2022
https://issues.dlang.org/show_bug.cgi?id=23172

Dennis <dkorpel@live.nl> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dkorpel@live.nl

--- Comment #2 from Dennis <dkorpel@live.nl> ---
Introduced by https://github.com/dlang/dmd/pull/13961

```
digger: 220aedbd1c5c102d26967be5706d5fe8f689a56c is the first bad commit
commit 220aedbd1c5c102d26967be5706d5fe8f689a56c
Author: Boris Carvajal <boris2.9@gmail.com>
Date:   Thu Apr 7 04:40:23 2022 -0400

    dmd: Fix Issue 22988 - no short-circuiting when constant folding ternary
operator
```

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

Dlang Bot <dlang-bot@dlang.rocks> changed:

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

--- Comment #3 from Dlang Bot <dlang-bot@dlang.rocks> ---
@BorisCarvajal created dlang/dmd pull request #14226 "Fix Issue 23172 - [REG2.100] Wrong cast inserted for ternary operator and non-int enums" fixing this issue:

- Fix Issue 23172 - [REG2.100] Wrong cast inserted for ternary operator and non-int enums

https://github.com/dlang/dmd/pull/14226

--
June 18, 2022
https://issues.dlang.org/show_bug.cgi?id=23172

Dlang Bot <dlang-bot@dlang.rocks> changed:

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

--- Comment #4 from Dlang Bot <dlang-bot@dlang.rocks> ---
dlang/dmd pull request #14226 "Fix Issue 23172 - [REG2.100] Wrong cast inserted for ternary operator and non-int enums" was merged into stable:

- 7b2bfe66b4e1c40a8a103721828faff14efc294e by Boris Carvajal:
  Fix Issue 23172 - [REG2.100] Wrong cast inserted for ternary operator and
non-int enums

https://github.com/dlang/dmd/pull/14226

--
July 09, 2022
https://issues.dlang.org/show_bug.cgi?id=23172

--- Comment #5 from Dlang Bot <dlang-bot@dlang.rocks> ---
dlang/dmd pull request #14280 "merge stable" was merged into master:

- 10f612d3bce5b560ccef7098a089df4ceeb2c006 by Boris Carvajal:
  Fix Issue 23172 - [REG2.100] Wrong cast inserted for ternary operator and
non-int enums

https://github.com/dlang/dmd/pull/14280

--