Nested public imports - bug or feature?

Meta via Digitalmars-d digitalmars-d at puremagic.com
Thu Aug 13 08:58:03 PDT 2015


On Thursday, 13 August 2015 at 15:53:16 UTC, anonymous wrote:
> On Thursday, 13 August 2015 at 15:29:19 UTC, Dicebot wrote:
>> struct Something
>> {
>>     public import a;
>> }
>>
>> void main() { Something.foo(); }
>
> What's wrong with `import Something = a;`? Bugs?

Even better: feature.


More information about the Digitalmars-d mailing list