Inline imports redivivus

Paul Backus snarwin at gmail.com
Sun Aug 1 13:30:55 UTC 2021


On Sunday, 1 August 2021 at 04:15:33 UTC, Vladimir Panteleev 
wrote:
>
> (import std.datetime).SysTime
>
> In an expression, import currently can only appear followed by 
> '(', so there is no ambiguity.

Very elegant; I like it.


More information about the Digitalmars-d mailing list