File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed
Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -222,8 +222,8 @@ let error_ambiguous ~loc c alltys =
222222
223223let error_unknown_symbol ~loc c =
224224 let pretty_ty = pretty_ty true in
225- let msg = Format. asprintf " @[<v> %a is unknown." F. pp c in
226- (* (pplist (fun fmt (_,x)-> Format.fprintf fmt "%a" pretty_ty x) ", ") alltys in *)
225+ let msg = Format. asprintf " %a is unknown." F. pp c in
226+
227227 error ~loc msg
228228
229229
@@ -330,8 +330,6 @@ let rec classify_arrow = function
330330let global_type (unknown_global : env_undeclared ref ) (ety : TypeAssignment.t MutableOnce.t TypeAssignment.t_ ) env ~loc c : ret_id TypeAssignment.overloaded =
331331 try fresh_skema_of_overloaded_symbol c env
332332 with Not_found ->
333- (* Printf.eprintf "FOUND OMAP %s %s\n%!" (F.show c) ; *)
334-
335333 try
336334 let ty,id = F.Map. find c ! unknown_global in
337335 Single (id,TypeAssignment. unval ty)
@@ -344,8 +342,6 @@ let global_type (unknown_global : env_undeclared ref) (ety : TypeAssignment.t Mu
344342 Single (id,TypeAssignment. unval ty)
345343 | Simple { tgt = (App(f ,_ ,_ )) } -> error_unknown_symbol ~loc c (Some f)
346344 | _ -> error_unknown_symbol ~loc c None
347-
348-
349345let unknown_type_assignment s = TypeAssignment. Val (mk_uvar s)
350346
351347let rec extend l1 l2 =
You can’t perform that action at this time.
0 commit comments