Module Js_of_ocaml_compiler.Warning

type t = [
  1. | `Integer_overflow
  2. | `Missing_debug_event
  3. | `Missing_cmi
  4. | `Effect_handlers_without_effect_backend
  5. | `Missing_primitive
  6. | `Missing_define
  7. | `Missing_deps
  8. | `Free_variables_in_primitive
  9. | `Deprecated_joo_global_object
  10. | `Overriding_primitive
  11. | `Overriding_primitive_purity
  12. | `Deprecated_primitive
  13. | `Unused_js_variable
]
val all : t list
val name : t -> string
val parse : string -> t option
val enable : t -> unit
val disable : t -> unit
val enabled : t -> bool
val quiet : bool Stdlib.ref
val werror : bool Stdlib.ref
val warn : t -> ('a, Stdlib.Format.formatter, unit, unit) Stdlib.format4 -> 'a
val process_warnings : unit -> unit