[Issue 12520] Comparing two TypeTuples with == does not compile for no arguments

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon May 25 09:25:40 UTC 2020


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

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/dmd pull request #11187 "fix issue 12520 - allow comparison of empty
tuples to tuples that con…" was merged into stable:

- 078d9e6456672f85ecdaae0f81336c78b70e4980 by Nils Lankila:
  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