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

--- Comment #11 from Martin Nowak <[email protected]> ---
(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.

--

Reply via email to