Prefix for a warning text showing name of the warning.
E.g. warning: -W[no]warning_name
ModuleAgda-2.7.0.1Haskell2010
Agda.TypeChecking.Pretty.Warning
- 18 values
- PackageAgda-2.7.0.1
- Exports18
- LanguageHaskell2010
- LicenceMIT
- SourceWarning.hs
Report a number of names that are not in scope.
value
didYouMean Suggest some corrections to a misspelled name.
If there are several warnings, remove the unsolved-constraints warning in case there are no interesting constraints to list.
Turns warnings, if any, into errors.
Depending which flags are set, one may happily ignore some warnings.
value
getAllUnsolvedWarnings :: (MonadFail m, ReadTCState m, MonadWarning m, MonadTCM m) => m [TCWarning]Collect all warnings that have accumulated in the state.