Octachron / codept

Contextual Ocaml DEPendencies Tool: alternative ocaml dependency analyzer
Other
59 stars 10 forks source link

The `codept_server` does not compile on 4.14.0 #18

Closed dinosaure closed 3 weeks ago

dinosaure commented 1 year ago

Currently, if we do a simple dune build on the project, we get this error:

$ dune build
File "experimental/server/codept_server.ml", line 22, characters 42-59:
22 |         let map = Name.Map.add filename s cached.signatures in
                                               ^^^^^^^^^^^^^^^^^
Error: This expression has type Module.named list Name.Map.t
       but an expression was expected of type Module.dict Name.Map.t
       Type Module.named list is not compatible with type
         Module.dict = Module.t Name.Map.t 

I'm not sure how to fix that.

Octachron commented 3 weeks ago

The server build, I am not sure if it works, but that's probably enough for its experimental status.