[Issue 17567] make shared methods callable on unshared objects (and covariant)

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Wed Jun 28 07:23:11 PDT 2017


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

Martin Nowak <code at dawg.eu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |WONTFIX

--- Comment #2 from Martin Nowak <code at dawg.eu> ---
(In reply to Andrei Alexandrescu from comment #1)
> At this point we have threads getting shared access to x, but the current
> thread believes x is unshared.

It already seemed too simple to work out :).
So this would only work with some inout flavor of shared which likely wouldn't
be worth the trouble.

--


More information about the Digitalmars-d-bugs mailing list