Named Arguments Status Update - Empty Tuple Value

Max Samukha maxsamukha at gmail.com
Tue Jan 9 15:40:42 UTC 2024


On Tuesday, 9 January 2024 at 13:25:49 UTC, Timon Gehr wrote:

> I fully agree with your analysis above. This should error.

AliasSeq!() - point A
AliasSeq!(1, 2) - interval B

Concatenate A and B, and you'll get B, but the point is still 
there, and it has a name, despite the fact it is "nothing".

If we make that an error, we should make `AliasSeq!() x;` an 
error too, which would be unfortunate.


More information about the Digitalmars-d mailing list