File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ let rec equal_longindent a b =
2828 | Lapply _ , _ | _ , Lapply _ -> assert false
2929 | _ -> false
3030
31- let make_jsx_element ~raise ~loc ~tag ~end_tag ~props ~children () =
31+ let make_jsx_element ~raise ~loc : _ ~tag ~end_tag ~props ~children () =
3232 let () =
3333 match end_tag with
3434 | None -> ()
@@ -71,8 +71,8 @@ let make_jsx_element ~raise ~loc ~tag ~end_tag ~props ~children () =
7171 props
7272 in
7373 let unit =
74- mkexp ~loc
75- (Pexp_construct ({ txt = Lident " ()" ; loc = make_loc loc }, None ))
74+ Exp. mk ~loc: Location. none
75+ (Pexp_construct ({ txt = Lident " ()" ; loc = Location. none }, None ))
7676 in
7777 let props = (Labelled " children" , children) :: props in
7878 Pexp_apply (tag, (Nolabel , unit ) :: props)
You can’t perform that action at this time.
0 commit comments