For some reason dub fails when there are multiple forward slashes in a path:
dub -q --compiler=dmd --single /var/folders/9k/jxw1lpwn6493sf_8f58p3bk80000gn/T//temp_dlang_tour_veqcpivikb.d
Error: module `temp_dlang_tour_veqcpivikb` from file /var/folders/9k/jxw1lpwn6493sf_8f58p3bk80000gn/T/test.d conflicts with another module temp_dlang_tour_veqcpivikb from file /var/folders/9k/jxw1lpwn6493sf_8f58p3bk80000gn/T//test.d
dmd failed with exit code 1.
It doesn't have anything to do with module declarations.
For some reason
dub
fails when there are multiple forward slashes in a path:It doesn't have anything to do with module declarations.