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:
Joey Hess 2016-11-15 18:51:07 -04:00
parent 65c9485c3a
commit 69915c6c9b
No known key found for this signature in database
GPG key ID: C910D9222512E3C7
2 changed files with 4 additions and 2 deletions

View file

@ -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

View file

@ -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