ModuleInfo linker error when importing std.stdio and using package.d
Daniel Kozak via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Tue Nov 8 12:33:11 PST 2016
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 some issues with that
More information about the Digitalmars-d-learn
mailing list