genType assumes other ML files are in the same directory
NatKarmios opened this issue · comments
Nat Karmios commented
When using types from a local Caml module in a different directory, genType doesn't seem to properly compute the module's location. This leads to erroring TypeScript code.
This isn't a problem when using a type from a ReScript module.
See this repository for an example:
https://github.com/NatKarmios/gentype-wrong-import
Patrick Ecker commented
This repository is being archived. If you feel like the issue still relevant, please re-create it in the compiler repo. Thanks!