@@ -465,16 +465,16 @@ end = struct
465465 else if tag = Obj. custom_tag
466466 then
467467 match ident_of_custom x with
468- | Some name when same_ident name ident_32 ->
468+ | Some name when same_ident name ident_32 -> (
469469 let i : int32 = Obj. magic x in
470- ( match target with
471- | `JavaScript -> Int i
472- | `Wasm -> Int32 i)
473- | Some name when same_ident name ident_native ->
470+ match target with
471+ | `JavaScript -> Int i
472+ | `Wasm -> Int32 i)
473+ | Some name when same_ident name ident_native -> (
474474 let i : nativeint = Obj. magic x in
475- ( match target with
476- | `JavaScript -> Int (Int32. of_nativeint_warning_on_overflow i)
477- | `Wasm -> NativeInt i)
475+ match target with
476+ | `JavaScript -> Int (Int32. of_nativeint_warning_on_overflow i)
477+ | `Wasm -> NativeInt i)
478478 | Some name when same_ident name ident_64 -> Int64 (Obj. magic x : int64 )
479479 | Some name ->
480480 failwith
@@ -493,8 +493,8 @@ end = struct
493493 let i : int = Obj. magic x in
494494 Int
495495 (match target with
496- | `JavaScript -> Int32. of_int_warning_on_overflow i
497- | `Wasm -> Int31. of_int_warning_on_overflow i)
496+ | `JavaScript -> Int32. of_int_warning_on_overflow i
497+ | `Wasm -> Int31. of_int_warning_on_overflow i)
498498
499499 let inlined = function
500500 | String _ | NativeString _ -> false
@@ -2385,10 +2385,7 @@ and compile infos pc state instrs =
23852385 (pc + 1 )
23862386 state
23872387 (( Let
2388- ( m
2389- , Prim
2390- ( Extern " caml_get_public_method"
2391- , [ Pv obj; Pv tag; Pc (Int 0l ) ] ) )
2388+ (m, Prim (Extern " caml_get_public_method" , [ Pv obj; Pv tag; Pc (Int 0l ) ]))
23922389 , loc )
23932390 :: instrs)
23942391 | GETMETHOD ->
@@ -3104,7 +3101,8 @@ let predefined_exceptions ~target =
31043101 (Int
31053102 ((* Predefined exceptions are registered in
31063103 Symtable.init with [-index - 1] *)
3107- Int32. of_int (- index - 1 ) )))
3104+ Int32. of_int
3105+ (- index - 1 ))) )
31083106 , noloc )
31093107 ; Let (exn , Block (248 , [| v_name; v_index |], NotArray , Immutable )), noloc
31103108 ; ( Let
0 commit comments