Skip to content
  • Alfredo Di Napoli's avatar
    Try to simplify zoo of functions in `Tc.Utils.Monad` · 755cb2b0
    Alfredo Di Napoli authored and Marge Bot's avatar Marge Bot committed
    This commit tries to untangle the zoo of diagnostic-related functions
    in `Tc.Utils.Monad` so that we can have the interfaces mentions only
    `TcRnMessage`s while we push the creation of these messages upstream.
    
    It also ports TcRnMessage diagnostics to use the new API, in particular
    this commit switch to use TcRnMessage in the external interfaces
    of the diagnostic functions, and port the old SDoc to be wrapped
    into TcRnUnknownMessage.
    755cb2b0