jonludlam / odoc

Documentation compiler for OCaml and Reason
Other
0 stars 0 forks source link

Resolve all references #25

Closed Julow closed 4 years ago

Julow commented 4 years ago

(issue https://github.com/jonludlam/odoc/issues/7)

This is work in progress. I submit a PR so we can discuss parts of it before it becomes too big.

I split the resolve_module_reference and resolve_module_type_reference functions because each parts must be called individually. I'm also trying to remove the use of choose that prevents to generalize the main logic.