Skip to content

Commit bb8ecb1

Browse files
committed
remove Warings.super_report since Warnings.message is consolidated
1 parent e1f3541 commit bb8ecb1

File tree

2 files changed

+1
-14
lines changed

2 files changed

+1
-14
lines changed

utils/warnings.ml

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -645,17 +645,7 @@ let report w =
645645
}
646646
;;
647647

648-
#if true then
649-
let super_report message w =
650-
match is_active w with
651-
| false -> `Inactive
652-
| true ->
653-
if is_error w then incr nerrors;
654-
`Active { number = number w; message = message w; is_error = is_error w;
655-
sub_locs = sub_locs w;
656-
}
657-
;;
658-
#end
648+
659649
exception Errors;;
660650

661651
let reset_fatal () =

utils/warnings.mli

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,4 @@ val mk_lazy: (unit -> 'a) -> 'a Lazy.t
137137
val nerrors : int ref
138138
val message : t -> string
139139
val number: t -> int
140-
val super_report :
141-
(t -> string) ->
142-
t -> [ `Active of reporting_information | `Inactive ]
143140
#end

0 commit comments

Comments
 (0)