Inline imports redivivus
Timon Gehr
timon.gehr at gmx.ch
Tue Jul 27 14:56:36 UTC 2021
On 27.07.21 14:34, Daniel N wrote:
>
> 1) std.datetime::SysTime
> 2) module(std.datetime).SysTime
>
> From a human readability perspective I like option (1) the best,
> however from a compiler perspective, you cannot tell that LHS is a
> module until it sees the final ::(or some other operator), that might
> not be optimal.
I don't think it is very important if the parser knows this early or not.
More information about the Digitalmars-d
mailing list