Weird RDMD error when trying to import source file from subfolder.
BoQsc
vaidas.boqsc at gmail.com
Wed Nov 1 16:24:04 UTC 2023
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;'
```
More information about the Digitalmars-d-learn
mailing list