Global import of modules

ryuukk_ ryuukk.dev at gmail.com
Thu Mar 31 06:47:46 UTC 2022


https://forum.dlang.org/post/csnqfrweyiplmuhofojw@forum.dlang.org

That is a nice idea, but i think it is better if it is supported 
by the compiler directly, so even if you don't use dub, you get 
to use the feature


    dmd hello.d --global-module=first.d,second.d,third.d

This would allow me to do that: 
https://github.com/dlang/druntime/pull/3790

What is everyone's opinion?


More information about the Digitalmars-d mailing list