fix tricky warning with ghc 8
Whether Route was exported from Assistant.WebApp.Types or not depended on the version of ghc. So, explictly export it.
This commit is contained in:
parent
65c9485c3a
commit
69915c6c9b
2 changed files with 4 additions and 2 deletions
|
@ -26,7 +26,6 @@ import qualified Control.Exception as E
|
||||||
import Assistant.DaemonStatus
|
import Assistant.DaemonStatus
|
||||||
import Assistant.WebApp.Types
|
import Assistant.WebApp.Types
|
||||||
import Assistant.WebApp (renderUrl)
|
import Assistant.WebApp (renderUrl)
|
||||||
import Yesod
|
|
||||||
#endif
|
#endif
|
||||||
import Assistant.Monad
|
import Assistant.Monad
|
||||||
import Assistant.Types.UrlRenderer
|
import Assistant.Types.UrlRenderer
|
||||||
|
|
|
@ -10,7 +10,10 @@
|
||||||
{-# LANGUAGE FlexibleInstances, FlexibleContexts, ViewPatterns #-}
|
{-# LANGUAGE FlexibleInstances, FlexibleContexts, ViewPatterns #-}
|
||||||
{-# OPTIONS_GHC -fno-warn-orphans #-}
|
{-# OPTIONS_GHC -fno-warn-orphans #-}
|
||||||
|
|
||||||
module Assistant.WebApp.Types where
|
module Assistant.WebApp.Types (
|
||||||
|
module Assistant.WebApp.Types,
|
||||||
|
Route
|
||||||
|
) where
|
||||||
|
|
||||||
import Assistant.Common
|
import Assistant.Common
|
||||||
import Assistant.Ssh
|
import Assistant.Ssh
|
||||||
|
|
Loading…
Reference in a new issue