[Issue 21764] checkaction=context doesn't work for empty tuples
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu Mar 25 01:45:19 UTC 2021
https://issues.dlang.org/show_bug.cgi?id=21764
Dlang Bot <dlang-bot at dlang.rocks> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |pull
--- Comment #1 from Dlang Bot <dlang-bot at dlang.rocks> ---
@MoonlightSentinel created dlang/druntime pull request #3411 "Fix 21764 -
checkaction=context doesn't work for empty tuples" fixing this issue:
- 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