On Thursday, 11 May 2023 at 00:56:03 UTC, ryuukk_ wrote:
Don't you find this code easier to read and review?
```D
if (target.os == .Windows)
{
item("windows");
}
else
{
item("posix");
if (target.os == .linux)
I was reading DMD source code, case of repetition that adds
nothing of value but useless reading strain
https://github.com/dlang/dmd/blob/999d835c1196eb993a99bb7f1c863da265a6b6c0/compiler/src/dmd/json.d#L843-L869
```D
if (target.os == Target.OS.Windows)
{
On Wednesday, 10 May 2023 at 12:34:00 UTC, Steven Schveighoffer
wrote:
This reminds me of an LDC bug fixed recently. I bet DMD suffers
from a similar problem:
https://github.com/ldc-developers/ldc/issues/3864
-Steve
And it is. Just tried the workaround proposed (export
On Wednesday, 10 May 2023 at 10:22:23 UTC, jmh530 wrote:
mir-stat also doesn't include mac os as part of the test suite
(mir-algorithm does). PRs are welcome.
Actually, it happens even when you don't import anything. As for
PRs, I would if I could. Although I've been around the community
for
On Wednesday, 10 May 2023 at 12:34:00 UTC, Steven Schveighoffer
wrote:
This reminds me of an LDC bug fixed recently. I bet DMD suffers
from a similar problem:
https://github.com/ldc-developers/ldc/issues/3864
-Steve
`MACOSX_DEPLOYMENT_TARGET` fixed it for me recently when I was
getting
This reminds me of an LDC bug fixed recently. I bet DMD suffers from a
similar problem: https://github.com/ldc-developers/ldc/issues/3864
-Steve
On Tuesday, 2 May 2023 at 00:34:45 UTC, Iain Buclaw wrote:
This release comes with 11 major changes, including:
- In the standard library, `std.typecons.Rebindable` now
supports all types
Tiny note of warning: `Rebindable` supports all types that it did
not previously support, including
On Wednesday, 10 May 2023 at 02:48:02 UTC, anonymouse wrote:
On Tuesday, 2 May 2023 at 00:34:45 UTC, Iain Buclaw wrote:
Glad to announce the first beta for the 2.104.0 release, ♥ to
the 36 contributors.
A couple days ago I ran into an issue that was solved by