Allow TA(val, kind) construction for unique types, too.
This commit is contained in:
parent
5fc3e16a83
commit
2a7bd18695
|
@ -1188,7 +1188,7 @@ private string generateConstructors(U)()
|
|||
}.format(tname, tname, tname, tname, tname, tname);
|
||||
|
||||
// type constructors with explicit type tag
|
||||
foreach (tname; AmbiguousTypeFields!U)
|
||||
foreach (tname; TypeTuple!(UniqueTypeFields!U, AmbiguousTypeFields!U))
|
||||
ret ~= q{
|
||||
this(typeof(U.%s) value, Kind type)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue