Skip to content

Commit 827957b

Browse files
committed
Fix warnings in tests
1 parent 9ad1fcc commit 827957b

File tree

2 files changed

+1
-9
lines changed

2 files changed

+1
-9
lines changed

compiler/tests-jsoo/lib-effects/assume_no_perform.ml

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,6 @@ module type TREE = sig
66
type 'a t
77
(** The type of tree. *)
88

9-
val leaf : 'a t
10-
(** A tree with only a leaf. *)
11-
12-
val node : 'a t -> 'a -> 'a t -> 'a t
13-
(** [node l x r] constructs a new tree with a new node [x] as the value, with
14-
[l] and [r] being the left and right sub-trees. *)
15-
169
val deep : int -> int t
1710
(** [deep n] constructs a tree of depth n, in linear time, where every node at
1811
level [l] has value [l]. *)
@@ -120,7 +113,7 @@ let benchmark f n =
120113

121114
(* Main follows *)
122115

123-
type _ Effect.t += Dummy : unit t
116+
type _ Effect.t += Dummy : unit t [@@warning "-38"]
124117

125118
let () =
126119
try_with

compiler/tests-jsoo/lib-effects/assume_no_perform_unhandled.ml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
open Printf
21
open Effect
32
open Effect.Deep
43

0 commit comments

Comments
 (0)