Release D 2.086.0

Andrea Fontana nospam at example.org
Wed May 8 09:01:02 UTC 2019


On Tuesday, 7 May 2019 at 17:29:34 UTC, Daniel N wrote:
> On Tuesday, 7 May 2019 at 15:13:05 UTC, Andrea Fontana wrote:
>>
>> import std;
>> void main()
>> {
>>   std.file.write("/tmp/test", "hello");
>> }
>>
>> How should I fix this?
>
> import std;
> import file = std.file;
> void main()
> {
>   file.write("/tmp/test", "hello");
> }

It sounds strange to me I can't use anymore full package syntax 
due to "import std"


More information about the Digitalmars-d-announce mailing list