File tree Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -115,7 +115,7 @@ module Make (Syntax : Sig.Camlp4Syntax) = struct
115115 _loc e_loc (e :string ) v_loc (v :string ) v_typ m_loc m m_typ args =
116116 let typ_var = fresh_type e_loc in
117117 let cstr =
118- let _loc = e_loc in < :expr< (($ lid:e$ : $js_t_id _loc "t"$ $typ_var$ ) : $ js_t_id _loc " t" $ < .. > )>> in
118+ let _loc = e_loc in < :expr< (($ lid:e$ : $js_t_id _loc "t"$ < .. > ) : $ js_t_id _loc " t" $ $ typ_var $ )>> in
119119 let x = let _loc = e_loc in < :expr< x>> in
120120 let body =
121121 let _loc = Syntax.Loc. merge e_loc m_loc in
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ Characters 40-43:
33 fun (obj : int) -> obj##m();;
44 ^^^
55Error: This expression has type int but an expression was expected of type
6- 'jsoo_173316d7 Js.t
6+ < .. > Js.t
77Characters 25-28:
88 fun (obj : < > Js.t) -> obj##m();;
99 ^^^
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ Characters 45-48:
33 fun (obj : int) -> obj##p;;
44 ^^^
55Error: This expression has type int but an expression was expected of type
6- 'jsoo_32b5ee21 Js.t
6+ < .. > Js.t
77Characters 25-28:
88 fun (obj : < > Js.t) -> obj##p;;
99 ^^^
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ Characters 45-48:
33 fun (obj : int) -> obj##p <- 2;;
44 ^^^
55Error: This expression has type int but an expression was expected of type
6- 'jsoo_32b5ee21 Js.t
6+ < .. > Js.t
77Characters 25-28:
88 fun (obj : < > Js.t) -> obj##p <- 2;;
99 ^^^
You can’t perform that action at this time.
0 commit comments