// A.re
module Child1 = {
let concat = (a, b) => a ++ b;
let concat2 = (a, b) => a ++ b;
};
module rec Child2: {let concat: (string, string) => string;} = {
let concat = (a, b) => a ++ b;
};
// Demo.re
// autocompletion, go to definition work
let a = A.Child1.concat("a", "b");
// Child2 is a rec module
// autocompletion, go to definition do NOT work
let b = A.Child2.concat("a", "b");
(possibly related, so I won't open a new issue, but there's also an external library in External.re and go to definition does not work either)
Issue
when using
module rec
"go to definition" and autocompletion do not workDemo
https://github.com/antonstefanov/delme-reason-ls-repro/blob/master/src/Demo.re
(possibly related, so I won't open a new issue, but there's also an external library in
External.re
and go to definition does not work either)