Skip to content
Commit 9b4991ca authored by Rene Saarsoo's avatar Rene Saarsoo
Browse files

Refactor warnings system.

Create four warning classes to handle a particular set of warnings:

- Warning::Basic -- the usual warnings :tag, :link, :global, ...
- Warning::Nodoc -- the :nodoc warning type together with its
  parameters.
- Warnings::Deprecated -- the old :no_doc* warnings which delegate to
  the new :nodoc warning.
- Warning::All -- composite warning that allows enabling/disabling all
  warning types together.

Then inside Warning::Registry delegate #set and #enabled? calls to these
warnings.
parent c420b06e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment