Skip to content

Commit

Permalink
Promote tests
Browse files Browse the repository at this point in the history
  • Loading branch information
rtjoa committed Jan 2, 2025
1 parent 2069a77 commit 6db415d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -681,7 +681,7 @@ val update_t : t -> unit = <fun>

type ('a : any) t = #{ x : int; y : 'a }
[%%expect{|
type ('a : value_or_null) t = #{ x : int; y : 'a; }
type 'a t = #{ x : int; y : 'a; }
|}]

(* CR layouts v7.2: once we allow record declarations with unknown kind (right
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
File "parsing_inline_unboxed_record.ml", line 11, characters 22-24:
11 | type variant = Foo of #{ x : string }
File "parsing_inline_unboxed_record.ml", line 10, characters 22-24:
10 | type variant = Foo of #{ x : string }
^^
Error: Syntax error
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
File "parsing_module_dot_unboxed_record.ml", line 15, characters 11-12:
15 | let t = M.#{ i = 1 }
File "parsing_module_dot_unboxed_record.ml", line 14, characters 11-12:
14 | let t = M.#{ i = 1 }
^
Error: Syntax error

0 comments on commit 6db415d

Please sign in to comment.