Skip to content

Commit 6cf6314

Browse files
authored
Merge pull request #825 from ocsigen/fix-fmt
dune build @fmt --auto-promote
2 parents 705cc19 + 494c503 commit 6cf6314

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/ppx/ppx_eliom_utils.ml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -459,7 +459,10 @@ module Cmo = struct
459459

460460
let find err loc =
461461
let {Lexing.pos_fname; pos_cnum; _} = loc.Location.loc_start in
462-
try typ (Hashtbl.find (Lazy.force events) (Filename.basename pos_fname, pos_cnum))
462+
try
463+
typ
464+
(Hashtbl.find (Lazy.force events)
465+
(Filename.basename pos_fname, pos_cnum))
463466
with Not_found ->
464467
Typ.extension ~loc @@ Location.Error.to_extension
465468
@@ Location.Error.make ~loc ~sub:[]

0 commit comments

Comments
 (0)