@@ -233,11 +233,11 @@ let type_to_field_integrity_check type_ ~access1 ~access2 ~message =
233
233
| Str -> " check_string" , None
234
234
| Imm -> " check_int" , None
235
235
| Float -> " check_float" , None
236
- | Float64 -> " check_float" , Some " Stable .Float_u.to_float"
236
+ | Float64 -> " check_float" , Some " Stdlib_upstream_compatible .Float_u.to_float"
237
237
| Float32 -> " check_float32" , Some " Beta.Float32_u.to_float32"
238
- | Bits32 -> " check_int32" , Some " Stable .Int32_u.to_int32"
239
- | Bits64 -> " check_int64" , Some " Stable .Int64_u.to_int64"
240
- | Word -> " check_int" , Some " Stable .Nativeint_u.to_int"
238
+ | Bits32 -> " check_int32" , Some " Stdlib_upstream_compatible .Int32_u.to_int32"
239
+ | Bits64 -> " check_int64" , Some " Stdlib_upstream_compatible .Int64_u.to_int64"
240
+ | Word -> " check_int" , Some " Stdlib_upstream_compatible .Nativeint_u.to_int"
241
241
in
242
242
let transform access =
243
243
match transformation with
@@ -567,7 +567,7 @@ let main n ~bytecode =
567
567
line {| (* TEST
568
568
flags = "-extension layouts_beta -extension small_numbers";
569
569
include beta;
570
- include stable ;|};
570
+ include stdlib_upstream_compatible ;|};
571
571
if bytecode then (
572
572
line {| bytecode;|};
573
573
) else (
@@ -582,11 +582,11 @@ let main n ~bytecode =
582
582
line {| let create_int () = Random. int 0x3FFF_FFFF | };
583
583
line {| let create_float () = Random. float Float. max_float| };
584
584
line {| let create_float32 () = Beta.Float32. of_float (Random. float Float. max_float)| };
585
- line {| let create_float_u () = Stable .Float_u. of_float (create_float () )| };
585
+ line {| let create_float_u () = Stdlib_upstream_compatible .Float_u. of_float (create_float () )| };
586
586
line {| let create_float32_u () = Beta.Float32_u. of_float32 (create_float32 () )| };
587
- line {| let create_int32_u () = Stable .Int32_u. of_int32 (Random. int32 0x7FFF_FFFFl )| };
588
- line {| let create_int64_u () = Stable .Int64_u. of_int64 (Random. int64 0x7FFF_FFFF_FFFF_FFFFL )| };
589
- line {| let create_nativeint_u () = Stable .Nativeint_u. of_nativeint (Random. nativeint 0x7FFF_FFFF_FFFF_FFFFn )| };
587
+ line {| let create_int32_u () = Stdlib_upstream_compatible .Int32_u. of_int32 (Random. int32 0x7FFF_FFFFl )| };
588
+ line {| let create_int64_u () = Stdlib_upstream_compatible .Int64_u. of_int64 (Random. int64 0x7FFF_FFFF_FFFF_FFFFL )| };
589
+ line {| let create_nativeint_u () = Stdlib_upstream_compatible .Nativeint_u. of_nativeint (Random. nativeint 0x7FFF_FFFF_FFFF_FFFFn )| };
590
590
line
591
591
{| let check_gen ~equal ~to_string ~message y1 y2 =
592
592
if equal y1 y2 then () else
0 commit comments