On Thursday, 6 January 2022 at 16:01:40 UTC, HuskyNator wrote:
On Thursday, 6 January 2022 at 13:33:24 UTC, bauss wrote:
While not the exact same, there's a small work around here
that can help in some cases:
```d
immutable long[string] aa;
shared static this() {
aa = [
"foo": 5,
On Thursday, 6 January 2022 at 02:47:17 UTC, Steven Schveighoffer
wrote:
Possibly. You see, you are importing another module. Since you
are doing that, the module must participate in cycle detection
at the beginning of running the program.
IC. Had cyclic module dependencies twice within this p
On Thursday, 6 January 2022 at 02:37:41 UTC, frame wrote:
On Tuesday, 4 January 2022 at 22:17:38 UTC, kdevel wrote:
Is there any chance to rephrase fsobjects.d such that it
becomes a "header only"/"compile only" file of which no object
file must be presented to the linker?
You didn't show ho
On Thursday, 6 January 2022 at 16:01:09 UTC, Stefan Koch wrote:
On Thursday, 6 January 2022 at 12:04:12 UTC, HuskyNator wrote:
On Monday, 28 November 2016 at 14:41:44 UTC, Era Scarecrow
wrote:
On Monday, 28 November 2016 at 09:06:34 UTC, Paolo Invernizzi
wrote:
The point is that I was trying to
On Thursday, 6 January 2022 at 16:12:10 UTC, HuskyNator wrote:
I can't figure out why this code works:
```d
union A {
int* b;
float c;
}
int fun(A a) @safe {
return *(()=>a.b)();
// return *a.b; //Complains about pointer type overlap
}
```
I tried to find out how
I can't figure out why this code works:
```d
union A {
int* b;
float c;
}
int fun(A a) @safe {
return *(()=>a.b)();
// return *a.b; //Complains about pointer type overlap
}
```
I tried to find out how `@safe` should be handled in this
scenario, and found [lambda'
On Thursday, 6 January 2022 at 13:33:24 UTC, bauss wrote:
While not the exact same, there's a small work around here that
can help in some cases:
```d
immutable long[string] aa;
shared static this() {
aa = [
"foo": 5,
"bar": 10,
"baz": 2000
];
}
```
Thanks a lot!
I'v
On Thursday, 6 January 2022 at 12:04:12 UTC, HuskyNator wrote:
On Monday, 28 November 2016 at 14:41:44 UTC, Era Scarecrow
wrote:
On Monday, 28 November 2016 at 09:06:34 UTC, Paolo Invernizzi
wrote:
The point is that I was trying to avoid some cycle between
modules, detected by 2.072. This bug l
On Thursday, 6 January 2022 at 12:04:12 UTC, HuskyNator wrote:
On Monday, 28 November 2016 at 14:41:44 UTC, Era Scarecrow
wrote:
On Monday, 28 November 2016 at 09:06:34 UTC, Paolo Invernizzi
wrote:
The point is that I was trying to avoid some cycle between
modules, detected by 2.072. This bug l
On Monday, 28 November 2016 at 14:41:44 UTC, Era Scarecrow wrote:
On Monday, 28 November 2016 at 09:06:34 UTC, Paolo Invernizzi
wrote:
The point is that I was trying to avoid some cycle between
modules, detected by 2.072. This bug leads to pollution in the
use of static this only to workaround
On 2022-01-06 02:55, frame wrote:
On Wednesday, 5 January 2022 at 22:22:19 UTC, Christian Köstlin wrote:
Hi all,
I really like std.concurrency but I now stumbled upon the following.
When receiving messages as const, they also need to be sent as const
(otherwise they are not matched). Comparing
11 matches
Mail list logo