conflicting alias in package module

60rntogo 60rntogo at gmail.com
Sat Sep 26 22:43:10 UTC 2020


On Saturday, 26 September 2020 at 15:12:47 UTC, Steven 
Schveighoffer wrote:
> Instead:
>
> import pack.foo : Foo;
>
> Works.

OK, sure. It's just that the motivation behind doing public 
imports in package.d is that I can write "import pack" instead of 
"import pack.foo". I guess it simply doesn't work within the 
package itself.



More information about the Digitalmars-d-learn mailing list