Inline imports redivivus
ettienne.gilbert at gmail.com
Tue Jul 27 11:52:15 UTC 2021
On Tuesday, 27 July 2021 at 10:55:48 UTC, deadalnix wrote:
> On Tuesday, 27 July 2021 at 09:48:03 UTC, ShadoLight wrote:
>> On Tuesday, 27 July 2021 at 09:20:25 UTC, Petar Kirov
>> [ZombineDev] wrote:
>>> On Tuesday, 27 July 2021 at 05:07:32 UTC, ag0aep6g wrote:
>>>> On 26.07.21 14:55, Andrei Alexandrescu wrote:
>>>>> On 7/24/21 3:52 PM, qxi wrote:
>>> That's the best suggestion so far.
>> I agree. But how about, for the sake of consistency (but at
>> the cost of some verbosity):
>> import module(std.datetime).SysTime
> How is that more consistent?
Oh s**t, you are right; I've forgotten that this was for only for
inline declarations... ok, scratch that idea. Adding 'import'
would not only _not be_ consistent, but will look really weird.
More information about the Digitalmars-d