Comment #0 by verylonglogin.reg — 2013-09-23T04:21:41Z
---
struct S
{
void* p;
// void opAssign(S); // Uncomment to workaround the issue
void opAssign(S) shared { }
}
void main()
{
S s;
shared S ss;
ss = s; // Error: cannot implicitly convert expression (s) of type S to shared(S)
}
---
Comment #1 by robert.schadek — 2024-12-13T18:11:56Z