[Dlang-internal] With statement problems

karita shigekikarita at gmail.com
Sat Oct 13 04:53:31 UTC 2018


On Sunday, 26 August 2018 at 05:48:30 UTC, Mike Franklin wrote:
> On Saturday, 25 August 2018 at 05:52:13 UTC, Shigeki Karita 
> wrote:
>> [...]
>
> I'm not seeing the problem you're trying to illustrate.  IMO, 
> if there is an ambiguity, the symbol with the most local scope 
> should take precedence.  If there is an ambiguity with types, 
> the symbol with the most specific type should take precedence.
>
> Can you create an example that shows the above not happening?
>
> Mike

Thanks for making it clear. The problem is second one "if there 
is an ambiguity, the symbol with the most local scope should take 
precedence."

I reported tiny example and this problem to bugzilla 
https://issues.dlang.org/show_bug.cgi?id=19305


More information about the Dlang-internal mailing list