From 611412b8e3ccf67f40ed7488aa4f852a6b584c1c Mon Sep 17 00:00:00 2001 From: Mark Shinwell Date: Fri, 6 Dec 2024 17:22:30 +0000 Subject: [PATCH] Promote test --- .../basics_from_unboxed_tuples_tests.ml | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) 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 }