[Issue 2553] Excess attribute propagation for interfaces

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Jun 27 22:39:55 PDT 2011


http://d.puremagic.com/issues/show_bug.cgi?id=2553


yebblies <yebblies at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |patch
                 CC|                            |yebblies at gmail.com
            Summary|Private interfaces cause a  |Excess attribute
                   |link error                  |propagation for interfaces


--- Comment #1 from yebblies <yebblies at gmail.com> 2011-06-28 15:34:58 EST ---
The problem here is that private is getting applied to the members of IFoo, not
just the declaration.  This is related to bug 5110, which was fixed for structs
and classes, but not interfaces.

The fix is to only allow the same attribute propagation for interfaces that is
allowed for classes, and to set the default protection for interfaces to
public.

https://github.com/D-Programming-Language/dmd/pull/170

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list