summaryrefslogtreecommitdiffstats
path: root/typing
diff options
context:
space:
mode:
Diffstat (limited to 'typing')
-rw-r--r--typing/parmatch.ml2
-rw-r--r--typing/typeclass.ml2
2 files changed, 2 insertions, 2 deletions
diff --git a/typing/parmatch.ml b/typing/parmatch.ml
index 99bb5afe9..a0cb5f3d8 100644
--- a/typing/parmatch.ml
+++ b/typing/parmatch.ml
@@ -1223,7 +1223,7 @@ let pretty_line ps =
prerr_string ">")
ps
-let pretty_matrix pss =
+let pretty_matrix (pss : matrix) =
prerr_endline "begin matrix" ;
List.iter
(fun ps ->
diff --git a/typing/typeclass.ml b/typing/typeclass.ml
index 232fca860..4d2e0ab84 100644
--- a/typing/typeclass.ml
+++ b/typing/typeclass.ml
@@ -994,7 +994,7 @@ let rec approx_description ct =
let temp_abbrev loc env id arity =
let params = ref [] in
- for i = 1 to arity do
+ for _i = 1 to arity do
params := Ctype.newvar () :: !params
done;
let ty = Ctype.newobj (Ctype.newvar ()) in