diff --git a/testsuite/tests/typing-layouts-unboxed-records/basics_from_unboxed_tuples_tests.ml b/testsuite/tests/typing-layouts-unboxed-records/basics_from_unboxed_tuples_tests.ml index e15daf1a6c2..c58eabe47b5 100644 --- a/testsuite/tests/typing-layouts-unboxed-records/basics_from_unboxed_tuples_tests.ml +++ b/testsuite/tests/typing-layouts-unboxed-records/basics_from_unboxed_tuples_tests.ml @@ -812,13 +812,7 @@ type array_record = #{ i1 : int; i2 : int } let _ = [| #{ i1 = 1; i2 = 2 } |] [%%expect{| type array_record = #{ i1 : int; i2 : int; } -Line 2, characters 8-33: -2 | let _ = [| #{ i1 = 1; i2 = 2 } |] - ^^^^^^^^^^^^^^^^^^^^^^^^^ -Error: Non-value layout value & value detected as sort for type array_record, - but this requires extension layouts_alpha, which is not enabled. - If you intended to use this layout, please add this flag to your build file. - Otherwise, please report this error to the Jane Street compilers team. +- : array_record array = [|#{i1 = 1; i2 = 2}|] |}] type array_init_record = #{ i1 : int; i2 : int }