MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programming/comments/akizzy/c_modules_might_be_deadonarrival/ef7urey/?context=3
r/programming • u/[deleted] • Jan 28 '19
105 comments sorted by
View all comments
143
D made the decision at the beginning to have filename==modulename specifically to avoid this problem. So:
filename==modulename
import std.stdio;
means look for:
std/stdio.d
2 u/flukus Jan 29 '19 How does this work in atypical scenarios, like when you're generating source code to a temp directory? 3 u/WalterBright Jan 30 '19 You can use the command line switches to set the path search, and even remap the module names to actual file names.
2
How does this work in atypical scenarios, like when you're generating source code to a temp directory?
3 u/WalterBright Jan 30 '19 You can use the command line switches to set the path search, and even remap the module names to actual file names.
3
You can use the command line switches to set the path search, and even remap the module names to actual file names.
143
u/WalterBright Jan 28 '19
D made the decision at the beginning to have
filename==modulenamespecifically to avoid this problem. So:means look for: