=====================
$ cat main.d
import std = std.stdio;
import std.socket;
import std.array;
import std.getopt;

void main() { std.writeln("bar");}
======================

compiles ok. But:

import std.socket;
import std.array;
import std.getopt;
import std = std.stdio;

void main() { std.writeln("bar");}

$ dmd main.d
main.d(6): Error: undefined identifier package std.writeln

wtf?

Reply via email to