June 15, 2013 Re: Why doesn't symbol wheelbarrowing work with function templates? | ||||
---|---|---|---|---|
| ||||
Posted in reply to TommiT | 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.
|
June 15, 2013 Re: Why doesn't symbol wheelbarrowing work with function templates? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Timon Gehr | On Saturday, 15 June 2013 at 21:38:57 UTC, Timon Gehr wrote:
> On 06/15/2013 11:34 AM, TommiT wrote:
>> Would you also go as far as to say that you'd expect the following to be
>> perfectly valid D code?
>> ...
>
> Yes, sure.
I'll go ahead and file a bug report then if no-one tells me otherwise.
|
June 17, 2013 Re: Why doesn't symbol wheelbarrowing work with function templates? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Timon Gehr Attachments:
| 2013/6/14 Timon Gehr <timon.gehr@gmx.ch> > 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. > Compiler fix: https://github.com/D-Programming-Language/dmd/pull/1660 Kenji Hara |
June 17, 2013 Re: Why doesn't symbol wheelbarrowing work with function templates? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Kenji Hara | On Monday, 17 June 2013 at 05:19:40 UTC, Kenji Hara wrote:
>
> Compiler fix:
> https://github.com/D-Programming-Language/dmd/pull/1660
>
> Kenji Hara
Great to hear that this is just a compiler bug and that it's already being fixed.
|
Copyright © 1999-2021 by the D Language Foundation