--module 1--- private import std.cstream; void main(){} -- module 2 -- import std.stdio; void B() { std.file.read(__FILE__); } --- if the import in module 1 is removed std.file.read in module 2 quits working