[Issue 23639] Casting to shared not allowed with -preview=nosharedaccess

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Jan 18 12:48:42 UTC 2023


https://issues.dlang.org/show_bug.cgi?id=23639

--- Comment #2 from RazvanN <razvan.nitu1305 at gmail.com> ---
Update, the problem is not the casting. Casting is fine. The problem is the
fact that the result of the cast is a shared expression that is returned,
therefore it needs to be synchronized.

--


More information about the Digitalmars-d-bugs mailing list