Skip to content

Commit

Permalink
Promote test
Browse files Browse the repository at this point in the history
  • Loading branch information
mshinwell committed Dec 9, 2024
1 parent 1b4d126 commit 611412b
Showing 1 changed file with 1 addition and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 }
Expand Down

0 comments on commit 611412b

Please sign in to comment.