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

Dlang Bot <[email protected]> changed:

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

--- Comment #1 from Dlang Bot <[email protected]> ---
@MoonlightSentinel created dlang/dmd pull request #13168 "Fix 22387 - Don't
unconditionally override the type of an assert" fixing this issue:

- Fix 22387 - Don't unconditionally override the type of an assert

  The type might've already been set before, e.g. by `defaultInitLiteral`
  for `const(noreturn).init`. Unconditionally setting the type to
  `noreturn` would discard qualifiers and the cause problems in generic
  code, e.g. for `isBidirectionalRange!(const(noreturn)[])`.

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

--

Reply via email to