Skip to content

Commit

Permalink
Default impl without server
Browse files Browse the repository at this point in the history
  • Loading branch information
kLabz committed Feb 12, 2025
1 parent 4c52d71 commit aa24870
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/typing/typeloadCacheHook.ml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ type find_module_result =
| BinaryModule of HxbData.module_cache
| NoModule

let find_module_extra_hook : (Common.context -> path -> module_def_extra) ref = ref (fun _ _ -> raise Not_found)
let find_module_extra_hook : (Common.context -> path -> module_def_extra) ref = ref (fun com mpath -> (com.module_lut#find mpath).m_extra)
let type_module_hook : (Common.context -> (typer_pass -> (unit -> unit) -> unit) -> path -> pos -> find_module_result) ref = ref (fun _ _ _ _ -> NoModule)

let fake_modules = Hashtbl.create 0
Expand Down

0 comments on commit aa24870

Please sign in to comment.