Why doesn't symbol wheelbarrowing work with function templates?

Timon Gehr timon.gehr at gmx.ch
Sat Jun 15 14:38:57 PDT 2013


On 06/15/2013 11:34 AM, TommiT wrote:
> On Friday, 14 June 2013 at 05:36:32 UTC, Timon Gehr wrote:
>> On 06/13/2013 11:53 AM, TommiT wrote:
>>> "symbol wheelbarrowing" = "making symbols in other module(s) local to
>>> the current module"
>>> (described in TDPL at page 148)
>>>
>>> The problem:
>>> -----------
>>>
>>> ...
>>>
>>> 1. alias main.bar conflicts with alias main.bar
>>
>> Compiler bug.
>
> Would you also go as far as to say that you'd expect the following to be
> perfectly valid D code?
> ...

Yes, sure.



More information about the Digitalmars-d mailing list