On Wednesday, 13 October 2021 at 17:58:23 UTC, Jonathan Levi
wrote:
When dmd is passed the "-w" tag, it "treats warnings as errors"
but not with the "__traits(compiles)" expression. Is this the
intended action?
This code should compile even with "-w", but it does not.
int i;
static i
Is there a decomposition for tuples and other data structures?
For example,
```
auto t = tuple(1, "2");
auto (x, y) = t; // or auto (x, y) = t.expand;
```
When dmd is passed the "-w" tag, it "treats warnings as errors"
but not with the "__traits(compiles)" expression. Is this the
intended action?
This code should compile even with "-w", but it does not.
int i;
static if (__traits(compiles,i += 5.2))
i += 5.2;
`pragma(msg, __tr
On Wednesday, 13 October 2021 at 02:03:30 UTC, rikki cattermole
wrote:
The repo itself hasn't been archived as of this writing. So a
PR may succeed.
But yeah the guy is gone by the looks.
If he is willing this could be a possible candidate for moving
it to dlang-community although it'll need
But ultimately, if the repo is archived, that means it is not
maintained anymore
The licence is MIT, so you can fork it and maintain a new updated
version, at least an updated one that compiles
--
github repos marked as "archived" should be reflected in the
code.dlang.org page, dub should