[Issue 17578] Propagate the common qualifier of fields to the containing type

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Sat Jul 1 13:37:10 PDT 2017


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

--- Comment #5 from timon.gehr at gmx.ch ---
(In reply to timon.gehr from comment #3)
> ...
> 
> shared class SharedWidget: IWidget{
>     SharedCounter c; // note: shared(SharedCounter)==SharedCounter

Stale comment. Actually shared(SharedCounter)!=SharedCounter but they convert
to each other.

--


More information about the Digitalmars-d-bugs mailing list