Thread overview
[Issue 20021] `static if` doesn't evaluate `opCast(T : bool)`
Jul 28, 2019
Dlang Bot
Aug 20, 2019
Dlang Bot
Aug 20, 2019
Dlang Bot
Aug 25, 2019
Dlang Bot
July 28, 2019
https://issues.dlang.org/show_bug.cgi?id=20021

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

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

--- Comment #1 from Dlang Bot <dlang-bot@dlang.rocks> ---
@dkorpel created dlang/dmd pull request #10237 "Fix issue 20021 - static if doesn't evaluate opCast(bool)" fixing this issue:

- fix issue 20021 - static if doesn't evaluate opCast(bool)

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

--
August 20, 2019
https://issues.dlang.org/show_bug.cgi?id=20021

elpenguino+D@gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |elpenguino+D@gmail.com

--- Comment #2 from elpenguino+D@gmail.com ---
The second case causes an error as well in DMD 2.088.0-beta.1. This is a partial regression now.

--
August 20, 2019
https://issues.dlang.org/show_bug.cgi?id=20021

elpenguino+D@gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |regression

--
August 20, 2019
https://issues.dlang.org/show_bug.cgi?id=20021

--- Comment #3 from Dlang Bot <dlang-bot@dlang.rocks> ---
@aG0aep6G created dlang/dmd pull request #10324 "fix issue 20021 - static if doesn't evaluate opCast(bool) " fixing this issue:

- fix issue 20021 - static if doesn't evaluate opCast(bool)

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

--
August 20, 2019
https://issues.dlang.org/show_bug.cgi?id=20021

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 #10324 "fix issue 20021 - static if doesn't evaluate opCast(bool) " was merged into stable:

- 98cab64efd160365bde1bcc1b7230cc92e58ced1 by dkorpel:
  fix issue 20021 - static if doesn't evaluate opCast(bool)

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

--
August 25, 2019
https://issues.dlang.org/show_bug.cgi?id=20021

--- Comment #5 from Dlang Bot <dlang-bot@dlang.rocks> ---
dlang/dmd pull request #10348 "Merge remote-tracking branch 'upstream/stable' into merge_stable" was merged into master:

- 421e9ce137c6aff941ebde92863c53292226a0b3 by aG0aep6G:
  fix issue 20021 - static if doesn't evaluate opCast(bool)  (#10324)

  fix issue 20021 - static if doesn't evaluate opCast(bool)
  merged-on-behalf-of: Nicholas Wilson <thewilsonator@users.noreply.github.com>

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

--