[Issue 12520] Comparing two TypeTuples with == does not compile for no arguments
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sun May 24 17:30:58 UTC 2020
https://issues.dlang.org/show_bug.cgi?id=12520
Dlang Bot <dlang-bot at dlang.rocks> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |pull
--- Comment #1 from Dlang Bot <dlang-bot at dlang.rocks> ---
@NilsLankila created dlang/dmd pull request #11187 "fix issue 12520 - allow
comparison of empty tuples to tuples that con…" fixing this issue:
- fix issue 12520 - allow comparison of empty tuples to tuples that contain
values
Empty tuples are represented as `TypeTuple` while tuples containing values as
`TupleExp`.
As a consequence, comparing them using `==` was not allowed.
https://github.com/dlang/dmd/pull/11187
--
More information about the Digitalmars-d-bugs
mailing list