Frontend.Input_warnings
A module to contain the mutable state used to track warnings from the parser and lexer.
As something of a hack, Input_warnings keeps track of which warnings the lexer has emitted as a form of hidden state, which must be initialized and collect
ed.
val collect : unit -> Warnings.t list
Returns all of the warnings issued since init
was called.
val add_warning : Middle.Location_span.t -> string -> unit
Add a generic warning string to the current list