`rescript build` panics when two modules have the same name

I created by accident a copy of the file and rescript build went in to panic

This is enough to reproduce:

$ tree src 
src
├── a
│   └── Test.res
└── b
    └── Test.res
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
error Command failed with exit code 101.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Is this already reported as a bug and/or fixed?