Odd compiler complaints with import declarations

Andrej Mitrovic andrej.mitrovich at gmail.com
Fri Sep 13 12:57:05 PDT 2013


On Friday, 13 September 2013 at 19:54:30 UTC, Orfeo wrote:
> // in gadget.d
> : import std.stdio;
> : import acme.goodies.io.string;
> : public void wun() { }

Add the module declaration "module acme.gadget;" at the top of 
this file and it should work.


More information about the Digitalmars-d-learn mailing list