D import idiom compilation time

Martin Tschierschke mt at smartdolphin.de
Tue Jan 8 14:13:21 UTC 2019


On Tuesday, 8 January 2019 at 13:40:51 UTC, Adam D. Ruppe wrote:
[...]
> It is by design - UFCS only considered for global symbols. The 
> idea is to simplify the reasoning process for finding .members 
> by eliminating local scopes from the search (supposed to make 
> ide stuff easier, etc)
>
> Whether this is good design or not is left up to the reader.

So, as a result I can conclude, that real local imports don't 
work togethter with UFCS, and this is disabling any chaining.



More information about the Digitalmars-d mailing list