The current state is, that modules are identified by name (globally), and there is no notion of versions.
Therefore the compiler doesn’t really know what to, when there is the same Module present twice.
You can try a similar issue easily by creating two directories and creating a rescript file with the same name in both directories.