Summary: Empty tuples don't match
           Product: D
           Version: 2.032
          Platform: Other
        OS/Version: Windows
            Status: NEW
          Severity: critical
          Priority: P2
         Component: DMD

A tuple containing an empty tuple is not the same as an empty tuple and two
such beasts are considered incompatible.
import std.typetuple;

template TypeList(T...)
    alias T toTuple;

static assert (TypeList!().toTuple == TypeTuple!());
Error: incompatible types for ((()) == (())): '()' and '()'

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to