diff options
Diffstat (limited to 'compiler/Main.ml')
-rw-r--r-- | compiler/Main.ml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/Main.ml b/compiler/Main.ml index 6161f2f2..29322049 100644 --- a/compiler/Main.ml +++ b/compiler/Main.ml @@ -282,7 +282,7 @@ let () = if !Errors.error_list <> [] then ( List.iter - (fun (meta, msg) -> log#serror (Errors.format_error_message meta msg)) + (fun (span, msg) -> log#serror (Errors.format_error_message span msg)) (* Reverse the list of error messages so that we print them from the earliest to the latest. *) (List.rev !Errors.error_list); |