[import,module] got biting again :(

%u e at ee.com
Thu Oct 14 09:46:52 PDT 2010


Yay, free access to a!

I searched for this bug in the bug-reports..
Why are there so many basic import bugs?

--
module main;
import b;

void main(){
  a.write();
}
--
module a;
import std.stdio;

void write(){
  writefln("a");
}
--
module b;
import a; //also with static
--


More information about the Digitalmars-d-learn mailing list