On Sunday, 11 July 2021 at 12:37:20 UTC, DLearner wrote:
C:\Users\SoftDev\Documents\BDM\D\Examples\CTFE\T2>type k_mod.d
// k_mod.d


ubyte[MemSiz]  MemPool;

You didn't import the other module here.


D's imports aren't like C's includes. Each module is independent and can only see what it itself imports.

A module has no idea who is importing it. It only knows what it imports inside itself.

Reply via email to