Dne 8.11.2016 v 21:16 Bryce Kellogg via Digitalmars-d-learn napsal(a):
...
Finally, a one line package.d:
public import my_package.my_module;
Change it to:
module my_package;
public import my_package.my_module;
Btw, having class name same as module name is not best way, there could
be
Hi everyone, I'm new to D, and I'm trying to get a handle on the
correct way to use packages, modules, and importing things. I
created a simple example, but I'm getting linker errors in weird
situations. I'm hoping to get some insight into why the error is
happening and best practices in these