[Issue 21764] checkaction=context doesn't work for empty tuples

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Mar 25 03:30:47 UTC 2021


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

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

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

--- Comment #2 from Dlang Bot <dlang-bot at dlang.rocks> ---
dlang/druntime pull request #3411 "Fix 21764 - checkaction=context doesn't work
for empty tuples" was merged into master:

- d4c1d376e4cfeb0882316b06fa6d8c1db7de8981 by MoonlightSentinel:
  Fix 21764 - checkaction=context doesn't work for empty tuples

  The template constraint was intended to avoid collisions with the
  unary hook but also prevented instances for zero elements.

  `combine` was adapted to print empty arrays as `()`.

https://github.com/dlang/druntime/pull/3411

--


More information about the Digitalmars-d-bugs mailing list