[Issue 14387] Disallow string literals as assert conditions

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Nov 20 12:12:52 UTC 2023


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

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

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

--- Comment #4 from Dlang Bot <dlang-bot at dlang.rocks> ---
@ntrel created dlang/dmd pull request #15837 "Deprecate boolean evaluation of
array/string literals" fixing this issue:

- Deprecate boolean evaluation of array/string literals

  Fix Issue 14387 - Disallow string literals as assert conditions.

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

--


More information about the Digitalmars-d-bugs mailing list