Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data IfaceMessageOpts = IfaceMessageOpts {}
- interfaceErrorHints :: IfaceMessage -> [GhcHint]
- interfaceErrorReason :: IfaceMessage -> DiagnosticReason
- interfaceErrorDiagnostic :: IfaceMessageOpts -> IfaceMessage -> SDoc
- missingInterfaceErrorHints :: MissingInterfaceError -> [GhcHint]
- missingInterfaceErrorReason :: MissingInterfaceError -> DiagnosticReason
- missingInterfaceErrorDiagnostic :: IfaceMessageOpts -> MissingInterfaceError -> SDoc
- readInterfaceErrorDiagnostic :: ReadInterfaceError -> SDoc
- lookingForHerald :: InterfaceLookingFor -> SDoc
- cantFindErrorX :: (UnitInfo -> SDoc) -> ([FilePath] -> SDoc) -> FindingModuleOrInterface -> CantFindInstalled -> SDoc
- mayShowLocations :: String -> Bool -> [FilePath] -> SDoc
- pkgHiddenHint :: (UnitInfo -> SDoc) -> BuildingCabalPackage -> UnitInfo -> SDoc
Documentation
data IfaceMessageOpts Source #
IfaceMessageOpts | |
|
Instances
interfaceErrorHints :: IfaceMessage -> [GhcHint] Source #
cantFindErrorX :: (UnitInfo -> SDoc) -> ([FilePath] -> SDoc) -> FindingModuleOrInterface -> CantFindInstalled -> SDoc Source #
General version of cantFindError which has some holes which allow GHC/GHCi to display slightly different error messages.
pkgHiddenHint :: (UnitInfo -> SDoc) -> BuildingCabalPackage -> UnitInfo -> SDoc Source #