I'm unable to import a .d
source file from a subfolder.
Now this happens only with rdmd
.
The dmd -i -run
works perfectly.
I'm currently on Windows 10 operating system.
./testimport.d:
import std;
import waffle.next;
void main(){
writeln("test", testing);
}
./waffle/next.d:
int testing = 5;
Error:
rdmd testimport.d
testimport.d(2): Error: module `next` from file waffle\next.d must be imported with 'import next;'