Skip to content

Commit b477170

Browse files
committed
fixup warnings
1 parent b36b065 commit b477170

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/compiler/type_checker.ml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -220,10 +220,8 @@ let error_ambiguous ~loc c alltys =
220220
let msg = Format.asprintf "@[<v>%a is overloaded. Its types are:@,@[<v 2> %a@]@]" F.pp c (pplist (fun fmt (_,x)-> Format.fprintf fmt "%a" pretty_ty x) ", ") alltys in
221221
error ~loc msg
222222

223-
let error_unknown_symbol ~loc c =
224-
let pretty_ty = pretty_ty true in
223+
let error_unknown_symbol ~loc c _exp =
225224
let msg = Format.asprintf "%a is unknown." F.pp c in
226-
227225
error ~loc msg
228226

229227
let hint_wrong_arity msg ty ~ety =

0 commit comments

Comments
 (0)