On Tuesday, 15 February 2022 at 13:06:47 UTC, Martin Nowak wrote:
http://dlang.org/changelog/2.099.0.html
Thanks. Regarding:
https://dlang.org/changelog/2.099.0.html#allow_casting_from_typetuple_to_typetuple
I don't understand why this is allowed:
```d
alias Tuple(T...) = T;
void foo()
{
Tuple!(int, int) tup;
auto foo = cast(long) tup;
pragma(msg, typeof(foo)); // (int, int)
}
```
Casting 2 values to one type is weird, and why does it not affect
the result type?
https://github.com/dlang/dmd/pull/13501#discussion_r808203393