Skip to content

Commit c73a1a4

Browse files
committed
Immutable is a fine enough choice for the auto-generated tests
and it makes the auto-gen'ed code a bit more compact to read anyway.
1 parent e72b368 commit c73a1a4

File tree

3 files changed

+380
-376
lines changed

3 files changed

+380
-376
lines changed

ocaml/testsuite/tests/mixed-blocks/generate_mixed_blocks_code.ml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,11 @@ type mutability =
100100
| Mutable
101101
| Immutable
102102

103-
let all_of_mutability = [ Mutable ]
103+
(* This test used to generate all combinations of mutable fields as well,
104+
but we changed this to make it cycle through more relevant properties,
105+
instead, like types of the fields.
106+
*)
107+
let all_of_mutability = [ Immutable ]
104108

105109
let is_mutable = function
106110
| Mutable -> true

0 commit comments

Comments
 (0)