Skip to content

Commit f058e55

Browse files
committed
remove no-longer-used error Unsupported_numeral
1 parent 0ffa97e commit f058e55

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

lib/core/reporter.ml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,6 @@ module Code = struct
137137
| Matching_wont_refine : string * printable option -> t
138138
| Dimension_mismatch : string * 'a D.t * 'b D.t -> t
139139
| Invalid_variable_face : 'a D.t * ('n, 'm) sface -> t
140-
| Unsupported_numeral : Q.t -> t
141140
| Anomaly : string -> t
142141
| No_such_level : printable -> t
143142
| Redefining_constant : string list -> t
@@ -285,7 +284,6 @@ module Code = struct
285284
| Matching_on_nondatatype _ -> Error
286285
| Matching_wont_refine _ -> Hint
287286
| Dimension_mismatch _ -> Bug (* Sometimes Error? *)
288-
| Unsupported_numeral _ -> Error
289287
| Anomaly _ -> Bug
290288
| No_such_level _ -> Bug
291289
| Redefining_constant _ -> Warning
@@ -366,7 +364,6 @@ module Code = struct
366364
| Invalid_degeneracy_action _ -> "E0003"
367365
(* Unimplemented future features *)
368366
| Unimplemented _ -> "E0100"
369-
| Unsupported_numeral _ -> "E0101"
370367
(* Parse errors *)
371368
| Parse_error -> "E0200"
372369
| Parsing_ambiguity _ -> "E0201"
@@ -740,7 +737,6 @@ module Code = struct
740737
textf "match will not refine the goal or context (%s)" msg
741738
| Dimension_mismatch (op, a, b) ->
742739
textf "dimension mismatch in %s (%s ≠ %s)" op (string_of_dim0 a) (string_of_dim0 b)
743-
| Unsupported_numeral n -> textf "unsupported numeral: %a" Q.pp_print n
744740
| Anomaly str -> textf "anomaly: %s" str
745741
| No_such_level i -> textf "@[<hov 2>no level variable@ %a@ in context@]" pp_printed (print i)
746742
| Redefining_constant name ->

0 commit comments

Comments
 (0)