On Tuesday, 3 March 2020 at 11:35:35 UTC, MoonlightSentinel wrote:
On Tuesday, 3 March 2020 at 11:04:53 UTC, Saurabh Das wrote:
PS: Any chance this will make it into DMD 2.091.0?
Yes, this fix will be in the upcoming release.
Excellent.
Thank you so much! :)
Saurabh
On Tuesday, 3 March 2020 at 11:04:53 UTC, Saurabh Das wrote:
PS: Any chance this will make it into DMD 2.091.0?
Yes, this fix will be in the upcoming release.
On Tuesday, 3 March 2020 at 10:57:36 UTC, MoonlightSentinel wrote:
On Tuesday, 3 March 2020 at 09:12:40 UTC, Saurabh Das wrote:
Is this supposed to not work anymore? Or is this a bug?
That is a bug, see
https://issues.dlang.org/show_bug.cgi?id=20629
Oh wow you fixed it already! Amazing!
Th
On Tuesday, 3 March 2020 at 09:12:40 UTC, Saurabh Das wrote:
Is this supposed to not work anymore? Or is this a bug?
That is a bug, see https://issues.dlang.org/show_bug.cgi?id=20629
Hi,
Consider this code:
```
import core.atomic;
struct MyStruct
{
uint a, b;
}
static assert(MyStruct.sizeof == ulong.sizeof);
void main()
{
shared MyStruct ms1;
MyStruct ms2 = atomicLoad(ms1); // This is fine
MyStruct ms3;
cas(&ms1, ms2, ms3);// This