[Issue 16085] wrong visibility warning for overloaded alias symbol
    via Digitalmars-d-bugs 
    digitalmars-d-bugs at puremagic.com
       
    Sun Aug  7 03:39:59 PDT 2016
    
    
  
https://issues.dlang.org/show_bug.cgi?id=16085
--- Comment #11 from Martin Nowak <code at dawg.eu> ---
(In reply to Walter Bright from comment #10)
> This is the equivalent of:
> 
>       alias reallocate = whatever.reallocate;
> 
> I.e. an actual alias is generated. The alias is not hidden. The import is.
It's a private alias b/c that's the protection of the import (implicitly).
    private import whatever : reallocate;
equivalent to:
    private alias reallocate = whatever.reallocate;
The bug that overloading this with a public alias causes an error should be
reproducible for both cases.
--
    
    
More information about the Digitalmars-d-bugs
mailing list