ghc-8.0.2: The GHC API

Safe HaskellNone
LanguageHaskell2010

TcErrors

Synopsis

Documentation

reportUnsolved :: WantedConstraints -> TcM (Bag EvBind) Source #

Report unsolved goals as errors or warnings. We may also turn some into deferred run-time errors if `-fdefer-type-errors` is on.

reportAllUnsolved :: WantedConstraints -> TcM () Source #

Report *all* unsolved goals as errors, even if -fdefer-type-errors is on See Note [Deferring coercion errors to runtime]

warnAllUnsolved :: WantedConstraints -> TcM () Source #

Report all unsolved goals as warnings (but without deferring any errors to run-time). See Note [Safe Haskell Overlapping Instances Implementation] in TcSimplify