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


yebblies <yebbl...@gmail.com> changed:

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


--- Comment #1 from yebblies <yebbl...@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: -------

Reply via email to